提交 1971e3f9 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!1813 fix bug of pass manager not new node causing the node cannot find in the all node list

Merge pull request !1813 from lianliguang/master
......@@ -47,8 +47,7 @@ CNodePtr ConvertTupleInputToMakeTuple(const FuncGraphPtr &graph, const CNodePtr
convert_inputs.push_back(input_node);
}
}
cnode_ptr->set_inputs(convert_inputs);
return cnode_ptr;
return graph->NewCNode(convert_inputs);
}
} // namespace
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册