Home
last modified time | relevance | path

Searched defs:relu_grad (Results 1 – 7 of 7) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dbatch_norm_add_relu_grad_fusion.cc68 …AndType(const CNodePtr &bn_add_relu_grad, const AnfNodePtr &bn_grad, const AnfNodePtr &relu_grad) { in SetShapeAndType()
83 …id ReplaceOutput(const FuncGraphPtr &graph, const AnfNodePtr &bn_grad, const AnfNodePtr &relu_grad, in ReplaceOutput()
129 auto relu_grad = AnfAlgo::GetInputNode(utils::cast<CNodePtr>(node), 0); in PatternCheck() local
152 VectorRef relu_grad = VectorRef({prim::kPrimReluGrad, dy_, y_}); in DefinePattern() local
167 auto relu_grad = AnfAlgo::GetInputNode(utils::cast<CNodePtr>(node), 0); in Process() local
Drelu_v2_pass.cc34 CNodePtr GetRelu(const CNodePtr &relu_grad) { in GetRelu()
95 CNodePtr CreateReluGradV2(const FuncGraphPtr &graph, const CNodePtr &relu_grad, const AnfNodePtr &s… in CreateReluGradV2()
126 VectorRef relu_grad({prim::kPrimReluGrad, dy_, VectorRef({prim::kPrimRelu, x_})}); in DefinePattern() local
133 auto relu_grad = node->cast<CNodePtr>(); in Process() local
Dbatch_norm_relu_grad_fusion.cc32 VectorRef relu_grad = VectorRef({prim::kPrimReluGrad, dy_, y_}); in DefinePattern() local
63 auto relu_grad = AnfAlgo::GetInputNode(utils::cast<CNodePtr>(node), 0); in Process() local
Dadd_relu_grad_v2_fusion.cc56 …VectorRef relu_grad = VectorRef({prim::kPrimReluGradV2, VectorRef({prim::kPrimAdd, x1_, x2_}), mas… in DefinePattern() local
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dderelu_fusion.cc32 CNodePtr GetRelu(const CNodePtr &relu_grad) { in GetRelu()
83 CNodePtr CreateReluGradV2(const FuncGraphPtr &graph, const CNodePtr &relu_grad, const AnfNodePtr &s… in CreateReluGradV2()
102 VectorRef relu_grad({prim::kPrimReluGrad, i0, relu}); in DefinePattern() local
110 auto relu_grad = node->cast<CNodePtr>(); in Process() local
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/
Dderelu_fusion.py20 relu_grad = Primitive('ReluGrad') variable
/third_party/mindspore/tests/vm_impl/
Dvm_me.py493 def relu_grad(y): function