chapter 08 recurrent neural networks 代码接口更新#57
Open
Y-yyyyq wants to merge 7 commits into
Open
Conversation
|
华为云ms2.7.1-cann8.2rc1:v3环境,4个文件可以运行 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
对应issue:https://gitee.com/mindspore/community/issues/ID9GRV
基于MindSpore2.7.1版本更新。
替换其中的ops接口为mint接口。
包含 on_value 和 off_value 参数的版本的ops.one_hot 在 mint 模块中没有替代接口,5_rnn-scratch.ipynb和6_rnn-concise.ipynb中保留ops.one_hot
2_text-preprocessing.ipynb和3_language-models-and-dataset.ipynb原文件可跑通,无需修改
测试环境:
ms2.7.1-cann8.2rc1
Ascend: 1*ascend-snt9b1|ARM: 24核 192GB