Home
last modified time | relevance | path

Searched refs:BasicClone (Results 1 – 19 of 19) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Dprim_bprop_optimizer.cc220 return BasicClone(level_2_graph_info->opt_func_graph()); in GetOptBpropFromCache()
229 FuncGraphPtr level_1_graph = BasicClone(level_1_graph_info->opt_func_graph_); in GetOptBpropFromCache()
238 return BasicClone(level_2_graph_info->opt_func_graph()); in GetOptBpropFromCache()
251 return BasicClone(iter->second); in GenSpecOptBprop()
265 …tuple_list_bprop_cache_[std::pair(prim, abs_list)] = BasicClone(level_2_graph_info->opt_func_graph… in GenSpecOptBprop()
275 auto graph_for_cache = BasicClone(bprop_fg); in PrimBpropOptStep1()
Ddfunctor.h198 cloned_bprop_fg = BasicClone(bprop_fg); in BpropToK()
271 return BasicClone(outer); in BpropToK()
Dgrad.cc127 return BasicClone(fg); in Kprim()
Dkpynative.cc80 return BasicClone(iter->second); in GetZerosLike()
95 zeros_like_funcgraph_cache[args_spec] = BasicClone(opted_zeros_like_fg); in GetZerosLike()
141 return BasicClone(iter->second); in GetOnesLike()
154 ones_like_funcgraph_cache[args_spec] = BasicClone(specialized_ones_like_fg); in GetOnesLike()
Dpynative_dfunctor.cc89 *fprop_graph = BasicClone(original_fprop); in GetForwardOutNodeAndBpropGraph()
Dkprim.cc333 return BasicClone(func_graph); in GetFprop()
/third_party/mindspore/mindspore/core/ir/
Dfunc_graph_cloner.h131 FuncGraphPtr BasicClone(const FuncGraphPtr &func_graph, bool clone_value_nodes = false);
Dfunc_graph_extends.cc253 FuncGraphPtr specialized_graph = BasicClone(shared_from_base<FuncGraph>()); in GenerateGraph()
Dfunc_graph_cloner.cc694 FuncGraphPtr BasicClone(const FuncGraphPtr &func_graph, bool clone_value_nodes) { in BasicClone() function
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dpartial_eliminate.h71 auto new_fg = BasicClone(fg); in operator()
162 auto new_fg = BasicClone(fg); in CheckFuncGraphAndArgs()
/third_party/mindspore/tests/ut/cpp/optimizer/
Dopt_test.cc91 FuncGraphPtr gbefore_clone = BasicClone(gbefore); in CheckTransform()
Dlib_test.cc51 FuncGraphPtr gbefore_clone = BasicClone(gbefore); in RunTransform()
65 FuncGraphPtr gbefore_clone = BasicClone(gbefore); in CheckTransform()
194 FuncGraphPtr gbefore_clone = BasicClone(before); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/vm/
Dsegment_runner.cc189 fg = BasicClone(fg); in Convert()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Devaluator.cc355 FuncGraphPtr cloned_func_graph = BasicClone(generated_func_graph); in GetFuncGraph()
/third_party/mindspore/tests/ut/cpp/ir/
Dmanager_test.cc419 FuncGraphPtr gfn = BasicClone(func_graph); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Ddata_converter.cc288 auto new_fg = BasicClone(func_graph); in ConvertFuncGraph()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Dpipeline.cc316 auto graph_clone = BasicClone(graph); in PipelineRDRProcess()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dsession_basic.cc679 auto new_fg = BasicClone(fg); in GetCNodeInfo()
983 auto new_fg = BasicClone(fg); in CreateValueNode()
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute.cc3049 auto new_ms_func_graph = BasicClone(ms_func_graph); in GradMsFunctionInner()
3050 auto new_grad_graph = BasicClone(grad_graph, true); in GradMsFunctionInner()