Skip to content

chapter13-15 代码接口更新#64

Open
Liiiii1234 wants to merge 5 commits into
mindspore-lab:masterfrom
Liiiii1234:master
Open

chapter13-15 代码接口更新#64
Liiiii1234 wants to merge 5 commits into
mindspore-lab:masterfrom
Liiiii1234:master

Conversation

@Liiiii1234
Copy link
Copy Markdown

对应issue: https://gitee.com/mindspore/community/issues/ID9GTK
基于MindSpore2.7.1版本更新。
替换其中的ops接口为mint接口。

部分文件无需更改。

保留ops中的ops.stop_gradient

测试环境:
ms2.7.1-cann8.2rc1:v3
Ascend: 1*ascend-snt9b3|ARM: 24核 192GB

Completed the migration from ops to mint interface for 3_word2vec_pretraining.ipynb, 6_similarity_analogy.ipynb, and 7_bert.ipynb. Files not requiring modification remain unchanged.
Completed the migration from ops to mint interface for 4.anchor.ipynb, 8.rcnn.ipynb, 10.transposed-conv.ipynb, and 12.neural-style.ipynb in chapter_13_computer-vision.2.fine-tuning.ipynb remains unchanged as ops.stop_gradient() currently lacks a corresponding function in the mint module. Files not requiring modification remain unchanged.
Completed the migration from ops to mint interface for 1_sentiment_analysis_and_dataset.ipynb, 2_sentiment_analysis_rnn.ipynb, 3_sentiment_analysis_cnn.ipynb, 4_natural_language_inference_and_dataset.ipynb, 5_natural_language_inference_attention.ipynb, and 7_natural_language_inference_bert.ipynb in chapter 15 folder.
Note: Simply removed unused ops imports in files 1, 4, and 7.
6_finetuning_bert.ipynb remains unchanged as it does not utilize the ops module
Completed the migration from ops to mint interface for boundingbox.ipynb, fcn.ipynb, multiscale-object-detection.ipynb, and ssd.ipynb.
Note: image-augmentation.ipynb, kaggle-cifar10.ipynb, and semantic-segmentation-and-dataset.ipynb remain unchanged as they do not utilize the ops module.
@cui0523
Copy link
Copy Markdown

cui0523 commented Jan 4, 2026

image

辛苦删除不必要的文件,只需保留.ipynb文件即可

@Liiiii1234
Copy link
Copy Markdown
Author

已经按照要求删除了 kernel_meta 文件夹,只保留了 .ipynb 文件。麻烦请再次审核,谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants