Home
last modified time | relevance | path

Searched defs:ChangeCounter (Results 1 – 1 of 1) sorted by relevance

/third_party/mindspore/mindspore/core/ir/
Dmanager.cc56 struct ChangeCounter { struct
57 EdgeCounter new_edges;
58 EdgeCounter del_edges;
59 NodeCounter new_nodes;
60 NodeCounter del_nodes;
63 void ForEachAddedEdges(Func &&func) { in ForEachAddedEdges()
68 void ForEachRemovedEdges(Func &&func) { in ForEachRemovedEdges()
72 std::vector<AnfNodePtr> GetAddedNodes() { return new_nodes.subtract(del_nodes); } in GetAddedNodes()
73 std::vector<AnfNodePtr> GetRemovedNodes() { return del_nodes.subtract(new_nodes); } in GetRemovedNodes()