Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dauto_monad.cc136 return (GetSideEffectPropagate(prim) != 0) || IsPrimitiveEquals(prim, prim::kPrimRefToEmbed) || in IsKeepRef()
137 IsPrimitiveEquals(prim, prim::kPrimPull); in IsKeepRef()
571 if (IsPrimitiveEquals(prim, prim::kPrimMakeTuple)) { in TraceTupleCNodeEffectInfo()
601 if (IsPrimitiveEquals(prim, prim::kPrimTupleGetItem)) { in TraceTupleCNodeEffectInfo()
675 if (IsPrimitiveEquals(prim, prim::kPrimSwitch)) { in TraceEffectInfo()
680 if (IsPrimitiveEquals(prim, prim::kPrimSwitchLayer)) { in TraceEffectInfo()
685 if (IsPrimitiveEquals(prim, prim::kPrimTupleGetItem)) { in TraceEffectInfo()
834 if (IsPrimitiveEquals(prim, prim::kPrimReturn)) { in DetectEffectInfo()
838 if (IsPrimitiveEquals(prim, prim::kPrimCall)) { in DetectEffectInfo()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Dprim_bprop_optimizer.cc198 bool hookback_flg = IsPrimitiveEquals(prim, prim::kPrimHookBackward); in OptimizeBPropFuncGraph()
199 …if (hookback_flg || IsPrimitiveEquals(prim, prim::kPrimMakeTuple) || IsPrimitiveEquals(prim, prim:… in OptimizeBPropFuncGraph()
Dkpynative.cc390 …if (IsPrimitiveEquals(prim, prim::kPrimStopGradient) || IsPrimitiveEquals(prim, prim::kPrimUpdateS… in KPynativeOp()
395 if (IsPrimitiveEquals(prim, prim::kPrimHookBackward)) { in KPynativeOp()
397 …} else if (IsPrimitiveEquals(prim, prim::kPrimMakeTuple) || IsPrimitiveEquals(prim, prim::kPrimMak… in KPynativeOp()
951 if (IsPrimitiveEquals(prim, prim::kPrimMakeTuple)) { in BuildMakeSequenceBprop()
953 } else if (IsPrimitiveEquals(prim, prim::kPrimMakeList)) { in BuildMakeSequenceBprop()
Dkprim.cc459 if (lift_fv_before_grad && IsPrimitiveEquals(prim, prim::kPrimSwitch)) { in KPrimitive()
/third_party/mindspore/mindspore/core/load_mindir/
Danf_model_parser.cc869 …if (IsPrimitiveEquals(prim::kPrimSwitch, prim) || IsPrimitiveEquals(prim::kPrimSwitchLayer, prim) … in SetCNodeAbastract()
870 IsPrimitiveEquals(prim::kPrimPartial, prim)) { in SetCNodeAbastract()
/third_party/mindspore/mindspore/core/ir/
Danf.cc220 bool IsPrimitiveEquals(const PrimitivePtr &prim1, const PrimitivePtr &prim2) { in IsPrimitiveEquals() function
Danf.h583 bool IsPrimitiveEquals(const PrimitivePtr &prim1, const PrimitivePtr &prim2);
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dascend_auto_monad.cc1813 if (!IsPrimitiveEquals(prim, prim::kPrimAssign)) { in IsOptimizableAssign()