diff --git a/paddle/fluid/framework/ir/graph_pattern_detector.h b/paddle/fluid/framework/ir/graph_pattern_detector.h index 0d7d56cabf30a1e984044f1720e01935b341cf4f..e164ce383a0fa9a6eb021acfd14df88a9fe6cd2e 100644 --- a/paddle/fluid/framework/ir/graph_pattern_detector.h +++ b/paddle/fluid/framework/ir/graph_pattern_detector.h @@ -18,8 +18,10 @@ #include #endif +#include #include #include +#include #include #include #include @@ -294,7 +296,7 @@ class GraphPatternDetector { using hit_rcd_t = std::pair; PDPattern pattern_; - std::unordered_map> pdnodes2nodes_; + std::map> pdnodes2nodes_; }; // some helper methods.