Home
last modified time | relevance | path

Searched refs:NewCNodeInOrder (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/
Dcomposite.cc108 return func_graph->NewCNodeInOrder(inputs); in FullMake()
155 return func_graph->NewCNodeInOrder( in FullMake()
159 auto call_node = func_graph->NewCNodeInOrder(inputs2); in FullMake()
166 return func_graph->NewCNodeInOrder(inputs); in FullMake()
213 return func_graph->NewCNodeInOrder( in FullMake()
217 auto call_node = func_graph->NewCNodeInOrder(inputs2); in FullMake()
224 return func_graph->NewCNodeInOrder(inputs); in FullMake()
255 …func_graph->NewCNodeInOrder({NewValueNode(prim::kPrimGetAttr), item.first, NewValueNode(SizeToLong… in FullMake()
258 auto call_node = func_graph->NewCNodeInOrder(inputs2); in FullMake()
265 return func_graph->NewCNodeInOrder(inputs); in FullMake()
[all …]
Dmap.cc47 return func_graph->NewCNodeInOrder(inputs); in FullMakeLeaf()
113 return func_graph->NewCNodeInOrder( in FullMakeList()
117 auto call_node = func_graph->NewCNodeInOrder(inputs2); in FullMakeList()
124 return func_graph->NewCNodeInOrder(inputs); in FullMakeList()
172 return func_graph->NewCNodeInOrder( in FullMakeTuple()
176 auto call_node = func_graph->NewCNodeInOrder(inputs2); in FullMakeTuple()
183 return func_graph->NewCNodeInOrder(inputs); in FullMakeTuple()
214 …func_graph->NewCNodeInOrder({NewValueNode(prim::kPrimGetAttr), item.first, NewValueNode(SizeToLong… in FullMakeClass()
217 auto call_node = func_graph->NewCNodeInOrder(inputs2); in FullMakeClass()
225 return func_graph->NewCNodeInOrder(inputs); in FullMakeClass()
Dunpack_call.cc93 ret_graph->set_output(ret_graph->NewCNodeInOrder(elems)); in GenerateFuncGraph()
Ddo_signature.cc316 return func_graph->NewCNodeInOrder(op_inputs); in BuildNewCNode()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse.cc482 CNodePtr return_node = block_fg->NewCNodeInOrder({return_value_node, return_expr_node}); in ParseReturn()
508 return block->func_graph()->NewCNodeInOrder({op_node, left_node, right_node}); in ParseBinOp()
608 return block->func_graph()->NewCNodeInOrder(make_tuple_nodes); in GenerateMakeTuple()
677 CNodePtr unpack_call = func_graph->NewCNodeInOrder(unpack_call_nodes); in MakeUnpackCall()
694 CNodePtr call_anf_node = block->func_graph()->NewCNodeInOrder(func_call_nodes); in GenerateAnfNodeForCall()
754 packed_arguments->push_back(block->func_graph()->NewCNodeInOrder(make_dict_nodes)); in ParseKeywordsInCall()
804 auto attr_cnode = block->func_graph()->NewCNodeInOrder({op_node, value_node, attr_node}); in ParseAttribute()
834 return block->func_graph()->NewCNodeInOrder({op_node, left_node, right_node}); in ParseCompare()
885 …block_fg->NewCNodeInOrder({NewValueNode(prim::kPrimSwitch), cond_node, NewValueNode(true_block->fu… in ProcessBoolOpValueList()
889 auto switch_app_call = block_fg->NewCNodeInOrder(call_graph_nodes); in ProcessBoolOpValueList()
[all …]
Dfunction_block.cc256 …auto node = func_graph_->NewCNodeInOrder({NewValueNode(prim::kPrimResolve), module_node, symbol_no… in MakeResolve()
265 auto node = func_graph_->NewCNodeInOrder( in MakeInterpret()
398 …CNodePtr op_apply_node = func_graph_->NewCNodeInOrder({MakeResolveOperation(NAMED_PRIMITIVE_BOOL),… in ForceToBoolNode()
405 CNodePtr op_apply_node = func_graph_->NewCNodeInOrder({MakeResolveOperation("while_cond"), cond}); in ForceToWhileCond()
425 CNodePtr jump = func_graph_->NewCNodeInOrder(input_nodes); in Jump()
442 …func_graph_->NewCNodeInOrder({NewValueNode(prim::kPrimSwitch), condNode, NewValueNode(true_block->… in ConditionalJump()
444 CNodePtr switch_app_new = func_graph_->NewCNodeInOrder({switch_app}); in ConditionalJump()
454 auto assign_node = func_graph_->NewCNodeInOrder({assign_op, target, source}); in SetStateAssign()
/third_party/mindspore/mindspore/core/ir/
Dfunc_graph.cc157 CNodePtr FuncGraph::NewCNodeInOrder(const std::vector<AnfNodePtr> &inputs) { in NewCNodeInOrder() function in mindspore::FuncGraph
720 CNodePtr FuncGraph::NewCNodeInOrder(const PrimitivePtr &primitive, const std::vector<AnfNodePtr> &i… in NewCNodeInOrder() function in mindspore::FuncGraph
722 return NewCNodeInOrder(input_node_list); in NewCNodeInOrder()
Dfunc_graph.h191 CNodePtr NewCNodeInOrder(const std::vector<AnfNodePtr> &inputs = std::vector<AnfNodePtr>());
192 …CNodePtr NewCNodeInOrder(const PrimitivePtr &primitive, const std::vector<AnfNodePtr> &prim_inputs…
Dfunc_graph_extends.cc63 return_ = this_graph->NewCNodeInOrder(params); in set_output()
/third_party/mindspore/mindspore/lite/tools/anf_exporter/
Danf_exporter.cc882 auto cnode = fg->NewCNodeInOrder(inputs); in CreateCallCnode()
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute.cc1033 cnode = grad()->curr_g()->NewCNodeInOrder(inputs); in ConstructForwardGraph()