From dc5e25fc7fa20d2cf65f9e6f09c756084045072f Mon Sep 17 00:00:00 2001 From: Yan Chunwei Date: Thu, 31 Jan 2019 16:53:09 +0800 Subject: [PATCH] remove dot marked node (#15606) --- paddle/fluid/framework/ir/graph_pattern_detector.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/paddle/fluid/framework/ir/graph_pattern_detector.cc b/paddle/fluid/framework/ir/graph_pattern_detector.cc index 6282ced1e..9ea0729e1 100644 --- a/paddle/fluid/framework/ir/graph_pattern_detector.cc +++ b/paddle/fluid/framework/ir/graph_pattern_detector.cc @@ -117,11 +117,6 @@ bool GraphPatternDetector::MarkPDNodesInGraph(const ir::Graph &graph) { // return false; } } - for (auto &item : pdnodes2nodes_) { - for (auto &n : item.second) { - GetMarkedNodes(const_cast(&graph)).insert(n); - } - } VLOG(3) << pdnodes2nodes_.size() << " nodes marked"; return !pdnodes2nodes_.empty(); -- GitLab