Home
last modified time | relevance | path

Searched refs:kPrimSquare (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dadam_apply_one_with_decay_rule.cc52 VectorRef square0({prim::kPrimSquare, input0_}); in DefinePattern()
72 VectorRef square0({prim::kPrimSquare, input0_}); in DefinePattern()
92 VectorRef square0({prim::kPrimSquare, input0_}); in DefinePattern()
112 VectorRef square0({prim::kPrimSquare, input0_}); in DefinePattern()
132 VectorRef square0({prim::kPrimSquare, input0_}); in DefinePattern()
152 VectorRef square0({prim::kPrimSquare, input0_}); in DefinePattern()
177 VectorRef square0({prim::kPrimSquare, input0_}); in DefinePattern()
202 VectorRef square0({prim::kPrimSquare, input0_}); in DefinePattern()
227 VectorRef square0({prim::kPrimSquare, input0_}); in DefinePattern()
252 VectorRef square0({prim::kPrimSquare, input0_}); in DefinePattern()
Dadam_apply_one_fusion.cc27 …VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex3], VectorRef({prim::kPrimSquare, input_vars_[k… in DefinePattern()
42 …VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex3], VectorRef({prim::kPrimSquare, input_vars_[k… in DefinePattern()
57 …VectorRef({prim::kPrimMul, VectorRef({prim::kPrimSquare, input_vars_[kIndex0]}), mul_x_input_vars_… in DefinePattern()
72 …VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex3], VectorRef({prim::kPrimSquare, input_vars_[k… in DefinePattern()
87 …VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex3], VectorRef({prim::kPrimSquare, input_vars_[k… in DefinePattern()
102 …VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex3], VectorRef({prim::kPrimSquare, input_vars_[k… in DefinePattern()
124 …VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex3], VectorRef({prim::kPrimSquare, input_vars_[k… in DefinePattern()
146 …VectorRef({prim::kPrimMul, VectorRef({prim::kPrimSquare, input_vars_[kIndex0]}), mul_x_input_vars_… in DefinePattern()
168 …VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex3], VectorRef({prim::kPrimSquare, input_vars_[k… in DefinePattern()
190 …VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex3], VectorRef({prim::kPrimSquare, input_vars_[k… in DefinePattern()
Dlamb_next_right_rule.cc54 VectorRef mul3 = VectorRef({prim::kPrimMul, mul3_x_, VectorRef({prim::kPrimSquare, input0_})}); in DefinePattern()
Dsquare_sum_fusion.cc96 return VectorRef({prim::kPrimReduceSum, VectorRef({prim::kPrimSquare, X})}); in DefinePattern()
/third_party/mindspore/mindspore/core/ops/
Dsquare.h32 Square() : PrimitiveC(prim::kPrimSquare->name()) { InitIOName({"input_x"}, {"output"}); } in Square()
Dsquare.cc131 REGISTER_PRIMITIVE_EVAL_IMPL(Square, prim::kPrimSquare, SquareInfer, SquareInferValue, true);
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dvalue_based_eliminate.cc77 if (IsPrimitiveCNode(node, prim::kPrimSquare) || IsPrimitiveCNode(node, prim::kPrimSqrt)) { in IsCNodePositive()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dadam_fusion.cc99 … VectorRef({prim::kPrimMul, one_sub_beta2_, VectorRef({prim::kPrimSquare, gradient_})})}); in DefinePattern()
Dadam_weight_decay_fusion.cc99 … VectorRef({prim::kPrimMul, one_sub_beta2_, VectorRef({prim::kPrimSquare, gradient_})})}); in DefinePattern()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dgraph_kernel_expander.cc59 {kAllTarget, OpLevel_0, prim::kPrimSquare}, in GetExpandOps()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Darithmetic_self_cpu_kernel.cc311 {prim::kPrimSquare->name(), Square<T>}, in LaunchKernel()
/third_party/mindspore/mindspore/core/base/
Dcore_ops.h490 inline const PrimitivePtr kPrimSquare = std::make_shared<Primitive>(kSquare); variable
/third_party/mindspore/mindspore/ccsrc/transform/express_ir/
Donnx_exporter.cc1620 if (node->IsApply(prim::kPrimSquare)) { in ExportCNode()