Skip to content

Commit dc5e25f

Browse files
authored
remove dot marked node (#15606)
1 parent 48a054f commit dc5e25f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

paddle/fluid/framework/ir/graph_pattern_detector.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,6 @@ bool GraphPatternDetector::MarkPDNodesInGraph(const ir::Graph &graph) {
117117
// return false;
118118
}
119119
}
120-
for (auto &item : pdnodes2nodes_) {
121-
for (auto &n : item.second) {
122-
GetMarkedNodes(const_cast<Graph *>(&graph)).insert(n);
123-
}
124-
}
125120
VLOG(3) << pdnodes2nodes_.size() << " nodes marked";
126121

127122
return !pdnodes2nodes_.empty();

0 commit comments

Comments
 (0)