!45987 add infer map of ops
Merge pull request !45987 from jjfeing/dynamic_static_op_bug_fix
This commit is contained in:
commit
142400c39a
|
@ -90,6 +90,7 @@
|
|||
#include "ops/split.h"
|
||||
#include "ops/grad/gelu_grad.h"
|
||||
#include "ops/iou.h"
|
||||
#include "ops/sparse_apply_proximal_adagrad.h"
|
||||
|
||||
namespace mindspore {
|
||||
namespace abstract {
|
||||
|
@ -442,6 +443,7 @@ PrimitiveEvalImplMap &GetPrimitiveToBackendEvalImplMap() {
|
|||
{prim::kPrimConcatD, R{InferImplConcat, nullptr, true}},
|
||||
{prim::kPrimPack, R{ops::StackInfer, nullptr, true}},
|
||||
{prim::kPrimApplyAdamD, R{ops::ApplyAdamDInfer, nullptr, true}},
|
||||
{prim::kPrimSparseApplyProximalAdagradD, R{ops::SparseApplyProximalAdagradInfer, nullptr, true}},
|
||||
{prim::kPrimMul, R{ops::MulInfer, nullptr, true}},
|
||||
{prim::kPrimMod, R{ops::ModInfer, nullptr, true}},
|
||||
{prim::kPrimAdd, R{ops::AddInfer, nullptr, false}},
|
||||
|
|
|
@ -989,6 +989,7 @@ GVAR_DEF(PrimitivePtr, kPrimApplyRMSProp, std::make_shared<Primitive>(kApplyRMSP
|
|||
GVAR_DEF(PrimitivePtr, kPrimSparseApplyFtrl, std::make_shared<Primitive>("SparseApplyFtrl"));
|
||||
GVAR_DEF(PrimitivePtr, kPrimSparseApplyFtrlD, std::make_shared<Primitive>("SparseApplyFtrlD"));
|
||||
GVAR_DEF(PrimitivePtr, kPrimSparseApplyProximalAdagrad, std::make_shared<Primitive>("SparseApplyProximalAdagrad"));
|
||||
GVAR_DEF(PrimitivePtr, kPrimSparseApplyProximalAdagradD, std::make_shared<Primitive>("SparseApplyProximalAdagradD"));
|
||||
GVAR_DEF(PrimitivePtr, kPrimFusedAdam, std::make_shared<Primitive>("FusedAdam"));
|
||||
GVAR_DEF(PrimitivePtr, kPrimFusedAdaFactor, std::make_shared<Primitive>("FusedAdaFactor"));
|
||||
GVAR_DEF(PrimitivePtr, kPrimFusedAdaFactorWithGlobalNorm, std::make_shared<Primitive>("FusedAdaFactorWithGlobalNorm"));
|
||||
|
|
Loading…
Reference in New Issue