Fix the problems of the ad optimization

This commit is contained in:
Kang 2020-06-20 18:20:23 +08:00
parent a0d651527f
commit c613be36a9
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ struct PrimitiveTotalEqual {
}
};
using Registry = std::unordered_map<PrimitivePtr, FuncGraphPtr, PrimitiveHasher, PrimitiveTotalEqual>;
using Registry = std::unordered_map<PrimitivePtr, FuncGraphPtr, PrimitiveHasher>;
class KPrim;
extern KPrim g_k_prims;
class DFunctor;