Home
last modified time | relevance | path

Searched refs:new_make_tuple_inputs (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Doptimize_dependence.cc120 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/
Dauto_monad_eliminate.cc172 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/
Dupdatestate_eliminate.cc510 …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/
Dsession_basic.cc895 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()