!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
pull/1813/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 1971e3f993

@ -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

Loading…
Cancel
Save