!2415 Fixed the problems of the ad optimization

Merge pull request !2415 from Kang/master
This commit is contained in:
mindspore-ci-bot 2020-06-20 20:56:36 +08:00 committed by Gitee
commit 01216a9a57
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;