Merge pull request !992 from amongo/fixCodex0508
pull/992/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit a7b39a4725

@ -66,6 +66,7 @@ class Cloner {
const ScopePtr scope() const { return scope_; }
std::unordered_map<AnfNodePtr, AnfNodePtr> repl_node_;
std::unordered_map<FuncGraphPtr, FuncGraphPtr> repl_func_graph_;
private:
void CloneNodes();
@ -112,7 +113,6 @@ class Cloner {
std::list<CloneInfo> todo_;
std::list<std::pair<CNodePtr, CNodePtr>> nodes_;
std::unordered_map<FuncGraphPtr, bool> status_;
std::unordered_map<FuncGraphPtr, FuncGraphPtr> repl_func_graph_;
std::unordered_map<FuncGraphPtr, std::unordered_map<AnfNodePtr, AnfNodePtr>> repl_map_node_;
std::unordered_map<FuncGraphPtr, std::unordered_map<FuncGraphPtr, AnfNodePtr>> repl_map_func_graph_;
std::unordered_map<FuncGraphPtr, AnfNodePtrList> repl_func_graph_params_;

Loading…
Cancel
Save