Skip to content

chapter 08 recurrent neural networks 代码接口更新#57

Open
Y-yyyyq wants to merge 7 commits into
candle-org:masterfrom
Y-yyyyq:update-chapter_08_recurrent-neural-networks
Open

chapter 08 recurrent neural networks 代码接口更新#57
Y-yyyyq wants to merge 7 commits into
candle-org:masterfrom
Y-yyyyq:update-chapter_08_recurrent-neural-networks

Conversation

@Y-yyyyq

@Y-yyyyq Y-yyyyq commented Dec 6, 2025

Copy link
Copy Markdown

对应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

@moyu026

moyu026 commented Dec 30, 2025

Copy link
Copy Markdown

华为云ms2.7.1-cann8.2rc1:v3环境,4个文件可以运行

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