Home
last modified time | relevance | path

Searched refs:kPrimApplyMomentum (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dreplace_momentum_cast_fusion.cc26 VectorRef momentum = VectorRef({prim::kPrimApplyMomentum, var_, acc_, lr_, grad_cast, mom_}); in DefinePattern()
Dapply_momentum_weight_fusion.cc32 …{prim::kPrimApplyMomentum, variable_, accumulation_, learning_rate_, weight_decay, momentum_, mona… in DefinePattern()
Dapply_momentum_scale_fusion.cc60 …VectorRef({prim::kPrimApplyMomentum, variable_, accumulation_, learning_rate_, scale, momentum_, m… in DefinePattern()
Dapply_momentum_weight_scale_fusion.cc92 …VectorRef({prim::kPrimApplyMomentum, variable_, accumulation_, learning_rate_, scale, momentum_, m… in DefinePattern()
/third_party/mindspore/mindspore/lite/tools/optimizer/format/
Dto_format_base.h51 …return opt::CheckPrimitiveType(node, prim::kPrimApplyMomentum) || opt::CheckPrimitiveType(node, pr… in IsOptimizerNode()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dmomentum_lossscale_fusion.cc49 return VectorRef({prim::kPrimApplyMomentum, X0, X1, X2, VectorRef({prim::kPrimMul, Xs}), X4, X5}); in DefinePattern()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/mindir/
Doptimizer_unify_output.cc89 VectorRef pattern({prim::kPrimApplyMomentum, var, accum, lr, grad, momentum, u}); in DefinePattern()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dbranch_culling.cc57 …std::vector<std::pair<PrimitivePtr, std::vector<size_t>>> white_list({{prim::kPrimApplyMomentum, {… in InConvertWhiteList()
84 {{prim::kPrimApplyMomentum, {1, 2}}, {prim::kPrimMomentum, {2, 3}}, in InConvertWhiteList()
Dless_batch_normalization.cc251 prim::kPrimLoad, prim::kPrimRefToEmbed, prim::kPrimApplyMomentum, prim::kPrimMomentum,
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dweight_quantizer.cc447 (opt::CheckPrimitiveType(cnode, prim::kPrimApplyMomentum))) { in DoQuantize()
/third_party/mindspore/mindspore/core/base/
Dcore_ops.h345 inline const PrimitivePtr kPrimApplyMomentum = std::make_shared<Primitive>("ApplyMomentum"); variable