Searched refs:BasicClone (Results 1 – 19 of 19) sorted by relevance
220 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()
198 cloned_bprop_fg = BasicClone(bprop_fg); in BpropToK()271 return BasicClone(outer); in BpropToK()
127 return BasicClone(fg); in Kprim()
80 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()
89 *fprop_graph = BasicClone(original_fprop); in GetForwardOutNodeAndBpropGraph()
333 return BasicClone(func_graph); in GetFprop()
131 FuncGraphPtr BasicClone(const FuncGraphPtr &func_graph, bool clone_value_nodes = false);
253 FuncGraphPtr specialized_graph = BasicClone(shared_from_base<FuncGraph>()); in GenerateGraph()
694 FuncGraphPtr BasicClone(const FuncGraphPtr &func_graph, bool clone_value_nodes) { in BasicClone() function
71 auto new_fg = BasicClone(fg); in operator()162 auto new_fg = BasicClone(fg); in CheckFuncGraphAndArgs()
91 FuncGraphPtr gbefore_clone = BasicClone(gbefore); in CheckTransform()
51 FuncGraphPtr gbefore_clone = BasicClone(gbefore); in RunTransform()65 FuncGraphPtr gbefore_clone = BasicClone(gbefore); in CheckTransform()194 FuncGraphPtr gbefore_clone = BasicClone(before); in TEST_F()
189 fg = BasicClone(fg); in Convert()
355 FuncGraphPtr cloned_func_graph = BasicClone(generated_func_graph); in GetFuncGraph()
419 FuncGraphPtr gfn = BasicClone(func_graph); in TEST_F()
288 auto new_fg = BasicClone(func_graph); in ConvertFuncGraph()
316 auto graph_clone = BasicClone(graph); in PipelineRDRProcess()
679 auto new_fg = BasicClone(fg); in GetCNodeInfo()983 auto new_fg = BasicClone(fg); in CreateValueNode()
3049 auto new_ms_func_graph = BasicClone(ms_func_graph); in GradMsFunctionInner()3050 auto new_grad_graph = BasicClone(grad_graph, true); in GradMsFunctionInner()