diff --git a/paddle/fluid/framework/ir/graph_pattern_detector.h b/paddle/fluid/framework/ir/graph_pattern_detector.h index 06d72dda8cc59815084b9f54f1c33e2f3fec3cf8..35e142a17436d94180fc1b80b1d7d8ca8ddfdd5d 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 @@ -296,7 +298,7 @@ class GraphPatternDetector { using hit_rcd_t = std::pair; PDPattern pattern_; - std::unordered_map> pdnodes2nodes_; + std::map> pdnodes2nodes_; }; // some helper methods.