提交 b56159e0 编写于 作者: W WilliamLian

fix bug of pass manager not new node causing the node cannot find in the allnodes list

上级 6748ef00
......@@ -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.
先完成此消息的编辑!
想要评论请 注册