Home
last modified time | relevance | path

Searched refs:kKeepProb (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/core/ops/grad/
Ddropout_grad.cc30 …CheckAndConvertUtils::CheckInRange<float>(kKeepProb, keep_prob, kIncludeRight, {0.0, 1.0}, this->n… in set_keep_prob()
31 (void)this->AddAttr(kKeepProb, MakeValue(keep_prob)); in set_keep_prob()
35 auto value_ptr = GetAttr(kKeepProb); in get_keep_prob()
/third_party/mindspore/mindspore/core/ops/
Ddropout.cc30 …CheckAndConvertUtils::CheckInRange<float>(kKeepProb, keep_prob, kIncludeRight, {0.0, 1.0}, this->n… in set_keep_prob()
31 (void)this->AddAttr(kKeepProb, MakeValue(keep_prob)); in set_keep_prob()
35 auto value_ptr = this->GetAttr(kKeepProb); in get_keep_prob()
Dbroadcast.cc30 void Broadcast::set_root_rank(const int64_t root_rank) { (void)this->AddAttr(kKeepProb, MakeValue(r… in set_root_rank()
Dop_utils.h105 constexpr auto kKeepProb = "keep_prob"; variable
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/mindir/
Ddropout_unify_mindir.cc35 constexpr auto kKeepProb = "keep_prob"; variable
70 if (!AnfAlgo::HasNodeAttr(kKeepProb, cnode)) { in CreateKeepPorbValueNode()
78 auto keep_prob = AnfAlgo::GetNodeAttr<float>(node, kKeepProb); in CreateKeepPorbValueNode()