Searched refs:new_make_tuple_inputs (Results 1 – 4 of 4) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/ |
D | optimize_dependence.cc | 120 std::vector<AnfNodePtr> new_make_tuple_inputs = {AnfAlgo::GetCNodePrimitiveNode(cnode)}; in ReplaceMakeTuple() local 128 new_make_tuple_inputs.push_back(input); in ReplaceMakeTuple() 131 new_make_tuple_inputs.push_back(replace_input); in ReplaceMakeTuple() 138 new_make_tuple = func_graph->NewCNode(new_make_tuple_inputs); in ReplaceMakeTuple() 143 new_make_tuple->set_inputs(new_make_tuple_inputs); in ReplaceMakeTuple()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | auto_monad_eliminate.cc | 172 std::vector<AnfNodePtr> new_make_tuple_inputs; in ReplaceLoadUserMakeTuple() local 173 …y_if(make_tuple_inputs.begin(), make_tuple_inputs.end(), std::back_inserter(new_make_tuple_inputs), in ReplaceLoadUserMakeTuple() 175 const auto &new_make_tuple = fg->NewCNode(new_make_tuple_inputs); in ReplaceLoadUserMakeTuple() 178 (void)std::transform(new_make_tuple_inputs.begin() + 1, new_make_tuple_inputs.end(), in ReplaceLoadUserMakeTuple()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/ |
D | updatestate_eliminate.cc | 510 …AnfNodePtrList new_make_tuple_inputs{NewValueNode(prim::kPrimMakeTuple), make_tuple_cnode->input(k… in EliminateUpdateStateBetweenAssignMakeTuple() local 512 auto new_make_tuple = MakeTupleForSameNodes(fg, update_state, new_make_tuple_inputs); in EliminateUpdateStateBetweenAssignMakeTuple() 583 AnfNodePtrList new_make_tuple_inputs{NewValueNode(prim::kPrimMakeTuple), a1, in EliminateUpdateStateBetweenMakeTupleAssign() local 586 auto new_make_tuple = MakeTupleForSameNodes(fg, update_state, new_make_tuple_inputs); in EliminateUpdateStateBetweenMakeTupleAssign()
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | session_basic.cc | 895 std::vector<AnfNodePtr> new_make_tuple_inputs = { in CreateCallSwitchLayerInputs() local 926 new_make_tuple_inputs.emplace_back(new_partial); in CreateCallSwitchLayerInputs() 928 auto new_make_tuple = graph->NewCNode(new_make_tuple_inputs); in CreateCallSwitchLayerInputs()
|