Home
last modified time | relevance | path

Searched refs:kPrimHookBackward (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Ddfunctor.cc213 if (IsPrimitiveCNode(input, prim::kPrimHookBackward)) { in BackPropagate()
265 if (IsPrimitiveCNode(node, prim::kPrimHookBackward)) { in MapMorphism()
433 if (IsPrimitiveCNode(output_node, prim::kPrimHookBackward)) { in MapMorphism()
636 …(prim->Hash() == prim::kPrimHookBackward->Hash() && prim->name() == prim::kPrimHookBackward->name(… in MapValueObject()
Dkprim.cc394 …if (prim->Hash() == prim::kPrimHookBackward->Hash() && prim->name() == prim::kPrimHookBackward->na… in GetBprop()
Dprim_bprop_optimizer.cc198 bool hookback_flg = IsPrimitiveEquals(prim, prim::kPrimHookBackward); in OptimizeBPropFuncGraph()
Dkpynative.cc395 if (IsPrimitiveEquals(prim, prim::kPrimHookBackward)) { in KPynativeOp()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dirpass.cc65 {prim::kPrimInsertGradientOf, prim::kPrimStopGradient, prim::kPrimHookBackward, in OptimizeIRPassLib()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dspecial_op_eliminate.h46 hook_backward_(std::make_shared<PrimEliminater>(prim::kPrimHookBackward)), in SpecialOpEliminater()
66 if (IsPrimitiveCNode(node, prim::kPrimHookBackward)) { in operator()
/third_party/mindspore/mindspore/core/base/
Dcore_ops.h579 inline const PrimitivePtr kPrimHookBackward = std::make_shared<Primitive>("HookBackward"); variable
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute.cc2469 auto fake_prim = std::make_shared<PrimitivePy>(prim::kPrimHookBackward->name()); in DoGradForCustomBprop()