MindSpore的LSTM显示不支持动态shape
把LSTM网络从tensorflow迁移到mindspore,训练时显示“Get infer functions failed, the operator is not support dynamic shape yet, primitive name:LSTMGrad primitive type:Primitive”MindSpore目前暂时还不支持LSTM算子的动态shape,可尝试将输入变
·
问题描述:
把LSTM网络从tensorflow迁移到mindspore,训练时显示“Get infer functions failed, the operator is not support dynamic shape yet, primitive name:LSTMGrad primitive type:Primitive”
以下为代码:

****************************************************解答*****************************************************
MindSpore目前暂时还不支持LSTM算子的动态shape,可尝试将输入变为固定shape执行
鲲鹏昇腾开发者社区是面向全社会开放的“联接全球计算开发者,聚合华为+生态”的社区,内容涵盖鲲鹏、昇腾资源,帮助开发者快速获取所需的知识、经验、软件、工具、算力,支撑开发者易学、好用、成功,成为核心开发者。
更多推荐

所有评论(0)