Home
last modified time | relevance | path

Searched refs:seen_node (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/lite/tools/optimizer/common/
Dnode_pass_extends.cc39 std::unordered_set<AnfNodePtr> seen_node; in Run() local
45 if (seen_node.count(node) > 0 || !manager->all_nodes().contains(node)) { in Run()
48 (void)seen_node.insert(node); in Run()
53 (void)seen_node.erase(node); in Run()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/
Dnode_pass.cc60 std::unordered_set<AnfNodePtr> seen_node; in Run() local
68 if (seen_node.count(node) > 0 || !manager->all_nodes().contains(node)) { in Run()
71 (void)seen_node.insert(node); in Run()
91 (void)seen_node.erase(node); in Run()
Dhelper.cc59 std::unordered_set<AnfNodePtr> seen_node; in IsDepend() local
64 if (seen_node.count(nd) > 0 || !manager->all_nodes().contains(nd)) { in IsDepend()
67 (void)seen_node.insert(nd); in IsDepend()