Searched refs:new_make_tuple (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/ |
D | remove_internal_output_test.py | 73 new_make_tuple = make_tuple(trans_data0, trans_data1) 74 res = make_tuple(tuple_getitem(new_make_tuple, 0), tuple_getitem(new_make_tuple, 1)) 80 new_make_tuple = make_tuple(tuple_getitem(output, 0), tuple_getitem(output, 1)) 81 res = make_tuple(tuple_getitem(new_make_tuple, 0), tuple_getitem(new_make_tuple, 1))
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/ |
D | optimize_dependence.cc | 136 CNodePtr new_make_tuple = nullptr; in ReplaceMakeTuple() local 138 new_make_tuple = func_graph->NewCNode(new_make_tuple_inputs); in ReplaceMakeTuple() 140 new_make_tuple = kernel_graph->NewCNode(cnode); in ReplaceMakeTuple() 142 MS_EXCEPTION_IF_NULL(new_make_tuple); in ReplaceMakeTuple() 143 new_make_tuple->set_inputs(new_make_tuple_inputs); in ReplaceMakeTuple() 146 manager->Replace(cnode, new_make_tuple); in ReplaceMakeTuple() 147 return new_make_tuple; in ReplaceMakeTuple()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | auto_monad_eliminate.cc | 175 const auto &new_make_tuple = fg->NewCNode(new_make_tuple_inputs); in ReplaceLoadUserMakeTuple() local 181 new_make_tuple->set_abstract(std::make_shared<abstract::AbstractTuple>(element_abstracts)); in ReplaceLoadUserMakeTuple() 182 manager->Replace(make_tuple, new_make_tuple); in ReplaceLoadUserMakeTuple()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/ |
D | updatestate_eliminate.cc | 512 auto new_make_tuple = MakeTupleForSameNodes(fg, update_state, new_make_tuple_inputs); in EliminateUpdateStateBetweenAssignMakeTuple() local 513 mgr->Replace(make_tuple, new_make_tuple); in EliminateUpdateStateBetweenAssignMakeTuple() 514 … auto new_update_state = fg->NewCNode({NewValueNode(prim::kPrimUpdateState), u1, new_make_tuple}); in EliminateUpdateStateBetweenAssignMakeTuple() 586 auto new_make_tuple = MakeTupleForSameNodes(fg, update_state, new_make_tuple_inputs); in EliminateUpdateStateBetweenMakeTupleAssign() local 587 mgr->Replace(make_tuple, new_make_tuple); in EliminateUpdateStateBetweenMakeTupleAssign() 588 … auto new_update_state = fg->NewCNode({NewValueNode(prim::kPrimUpdateState), u1, new_make_tuple}); in EliminateUpdateStateBetweenMakeTupleAssign()
|
D | less_batch_normalization.cc | 291 auto new_make_tuple = fg->NewCNode(args); in ConvertRemoveNodeToVirtualNode() local 292 return new_make_tuple; in ConvertRemoveNodeToVirtualNode()
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | session_basic.cc | 928 auto new_make_tuple = graph->NewCNode(new_make_tuple_inputs); in CreateCallSwitchLayerInputs() local 933 new_make_tuple->set_abstract(abstract); in CreateCallSwitchLayerInputs() 934 switch_layer_inputs.emplace_back(new_make_tuple); in CreateCallSwitchLayerInputs()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/ |
D | pynative_execute.cc | 3051 auto new_make_tuple = new_ms_func_graph->output()->cast<CNodePtr>(); in GradMsFunctionInner() local 3052 MS_EXCEPTION_IF_NULL(new_make_tuple); in GradMsFunctionInner() 3053 new_ms_func_graph->set_output(new_make_tuple->input(1)); in GradMsFunctionInner()
|