提交 60dd4d71 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!4253 fix bug of merge cast to next op

Merge pull request !4253 from lianliguang/master
......@@ -172,7 +172,6 @@ AnfNodePtr MergeCastToNextOp(const FuncGraphPtr &graph, const CNodePtr &node, co
<< "ori kernel info" << ori_kernel_info->ToString() << "alternative kernel info"
<< (*alternative_kernel_info)->ToString();
AnfAlgo::SetSelectKernelBuildInfo(*alternative_kernel_info, next_cnode.get());
ChangeNodeInferInfo(next_cnode, node, cast_index);
if (node->inputs().size() < kCastInputNum) {
MS_LOG(EXCEPTION) << "Op[" << node->DebugString() << "] has wrong input num:";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册