Home
last modified time | relevance | path

Searched refs:cnode_prim (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/tests/ut/cpp/transform/
Dtransform_base_test.cc91 CNodePtr cnode_prim = func_graph->NewCNode(inputs); in MakeFuncGraph() local
94 inputs.push_back(cnode_prim); in MakeFuncGraph()
Dconvert_test.cc147 CNodePtr cnode_prim = anf_graph->NewCNode(inputs); in TEST_F() local
151 inputs.push_back(cnode_prim); in TEST_F()
736 CNodePtr cnode_prim = func_graph->NewCNode(inputs); in TEST_F() local
739 inputs.push_back(cnode_prim); in TEST_F()
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dnode_infershape.cc159 auto cnode_prim = GetValueNode<PrimitivePtr>(cnode->input(0)); in InferShape() local
160 MS_CHECK_TRUE_MSG(cnode_prim != nullptr, lite::RET_NULL_PTR, "GetValueNode Failed"); in InferShape()
161 cnode_prim->AddAttr(ops::kFormat, MakeValue<int64_t>(inputs[0]->format())); in InferShape()
/third_party/mindspore/tests/ut/cpp/operator/
Dcomposite_test.cc78 CNodePtr cnode_prim = func_graph->NewCNode(inputs); in MakeFuncGraph() local
81 inputs.push_back(cnode_prim); in MakeFuncGraph()
/third_party/mindspore/tests/ut/cpp/pipeline/static_analysis/
Dprim_test.cc124 CNodePtr cnode_prim = func_graph->NewCNode(inputs); in MakeFuncGraph() local
127 inputs.push_back(cnode_prim); in MakeFuncGraph()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_parallel.cc1527 auto cnode_prim = GetValueNode<PrimitivePtr>(cnode->input(0)); in InsertAllGatherOp() local
1528 MS_EXCEPTION_IF_NULL(cnode_prim); in InsertAllGatherOp()