Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/ps/
Doptimizer_info_builder.cc184 …AddressPtr beta1_power = GenInputAddrPtr<float>(kSparseAdam, "beta1_power", const_cast<float *>(va… in BuildInputs()
186 …AddressPtr beta2_power = GenInputAddrPtr<float>(kSparseAdam, "beta2_power", const_cast<float *>(va… in BuildInputs()
188 …AddressPtr learning_rate = GenInputAddrPtr<float>(kSparseAdam, "lr", const_cast<float *>(values.da… in BuildInputs()
190 …AddressPtr beta1 = GenInputAddrPtr<float>(kSparseAdam, "beta1", const_cast<float *>(values.data())… in BuildInputs()
192 …AddressPtr beta2 = GenInputAddrPtr<float>(kSparseAdam, "beta2", const_cast<float *>(values.data())… in BuildInputs()
194 …AddressPtr epsilon = GenInputAddrPtr<float>(kSparseAdam, "eps", const_cast<float *>(values.data())… in BuildInputs()
196 …AddressPtr grad = GenInputAddrPtr<float>(kSparseAdam, "grad", const_cast<float *>(values.data()), … in BuildInputs()
199 …GenInputAddrPtr<float>(kSparseAdam, "indices", const_cast<float *>(values.data()), lens, inputs_sh… in BuildInputs()
Doptimizer_info.cc338 …UpdateOptimInputValue<float>(kSparseAdam, "beta1_power", const_cast<float *>(values.data()), lens); in Update()
339 …UpdateOptimInputValue<float>(kSparseAdam, "beta2_power", const_cast<float *>(values.data()), lens); in Update()
340 UpdateOptimInputValue<float>(kSparseAdam, "lr", const_cast<float *>(values.data()), lens); in Update()
341 UpdateOptimInputValue<float>(kSparseAdam, "beta1", const_cast<float *>(values.data()), lens); in Update()
342 UpdateOptimInputValue<float>(kSparseAdam, "beta2", const_cast<float *>(values.data()), lens); in Update()
343 UpdateOptimInputValue<float>(kSparseAdam, "eps", const_cast<float *>(values.data()), lens); in Update()
Dconstants.h51 constexpr char kSparseAdam[] = "Adam"; variable
240 … {kSparseAdam, kSparseAdamOriginIdx},
244 … {kSparseAdam, kSparseAdamPSSendIdx},
Dutil.cc29 {kSparseAdam, 1},
36 {1, kSparseAdam},
Dparameter_server.cc78 optim_info_builders_[kSparseAdam] = sparse_adam_info_builder; in InitOptimInfoBuilders()
123 if (optim_name == kSparseAdam) { in InitOptimInputsShape()