Home
last modified time | relevance | path

Searched refs:kGradIndex (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dreplace_momentum_cast_fusion.cc35 auto grad_cast = AnfAlgo::GetInputNode(utils::cast<CNodePtr>(node), kGradIndex); in Process()
54 outputs_type[kGradIndex] = AnfAlgo::GetPrevNodeOutputInferDataType(grad_cast, 0); in Process()
/third_party/mindspore/mindspore/ccsrc/ps/
Dconstants.h79 constexpr int64_t kGradIndex = 0; variable
Dworker.cc728 …if (attrs.count(kGradIndex) == 0 || attrs.count(kIndiceIndex) == 0 || attrs.count(kFirstDimSize) =… in SparsePartitioner()
732 auto iter = attrs.find(kGradIndex); in SparsePartitioner()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/
Dhelper.h49 constexpr size_t kGradIndex = 3; variable