Searched refs:target_func_graph (Results 1 – 2 of 2) sorted by relevance
/third_party/mindspore/mindspore/core/ir/ |
D | func_graph_cloner.cc | 47 void Cloner::AddClone(const FuncGraphPtr &func_graph, const FuncGraphPtr &target_func_graph, in AddClone() argument 50 CloneInfo clone = {func_graph, target_func_graph, params}; in AddClone() 164 …loneFuncGraphDefaultValues(const FuncGraphPtr &func_graph, const FuncGraphPtr &target_func_graph) { in CloneFuncGraphDefaultValues() argument 166 MS_EXCEPTION_IF_NULL(target_func_graph); in CloneFuncGraphDefaultValues() 172 CloneNode(node, target_func_graph); in CloneFuncGraphDefaultValues() 180 …::CloneFuncGraphValueNodes(const FuncGraphPtr &func_graph, const FuncGraphPtr &target_func_graph) { in CloneFuncGraphValueNodes() argument 182 MS_EXCEPTION_IF_NULL(target_func_graph); in CloneFuncGraphValueNodes() 185 target_func_graph->set_stage(func_graph->stage()); in CloneFuncGraphValueNodes() 195 target_func_graph->set_return(return_node); in CloneFuncGraphValueNodes() 203 CloneValueNode(valuenode, target_func_graph); in CloneFuncGraphValueNodes() [all …]
|
D | func_graph_cloner.h | 52 void AddClone(const FuncGraphPtr &func_graph, const FuncGraphPtr &target_func_graph = nullptr, 85 void CloneAllNodes(const FuncGraphPtr &func_graph, const FuncGraphPtr &target_func_graph); 86 void CloneOrderList(const FuncGraphPtr &func_graph, const FuncGraphPtr &target_func_graph); 87 …id CloneFuncGraphValueNodes(const FuncGraphPtr &func_graph, const FuncGraphPtr &target_func_graph); 88 …CloneFuncGraphDefaultValues(const FuncGraphPtr &func_graph, const FuncGraphPtr &target_func_graph); 90 void SetFuncGraphInfo(const FuncGraphPtr &func_graph, FuncGraphPtr *const target_func_graph); 91 void CloneParameters(const FuncGraphPtr &func_graph, const FuncGraphPtr &target_func_graph); 122 AnfNodePtr InlineClone(const FuncGraphPtr &func_graph, const FuncGraphPtr &target_func_graph,
|