Home
last modified time | relevance | path

Searched defs:gradients (Results 1 – 25 of 50) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Drmsprop_impl.cu23 T* mean_square, T*moment, T* gradients, const size_t size) { in RmsPropKernel()
33 …T* variable, T* mean_square, T* moment, T* gradients, const size_t size, cudaStream_t cuda_stream)… in RmsProp()
40 … T* variable, T* mean_gradients, T* mean_square, T*moment, T* gradients, in RmsPropCenterKernel()
53 T* mean_gradients, T* mean_square, T*moment, T* gradients, const size_t size, in RmsPropCenter()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Drmsprop_cpu_kernel.cc30 …RMSPropCPUKernel<T>::LaunchRMSPropUnuseCenter(T *variable, T *mean_square, T *moment, T *gradients, in LaunchRMSPropUnuseCenter()
51 …d RMSPropCPUKernel<T>::LaunchRMSPropUseCenter(T *variable, T *mean_square, T *moment, T *gradients, in LaunchRMSPropUseCenter()
106 float *gradients = reinterpret_cast<float *>(inputs[4]->addr); in Launch() local
117 T *gradients = reinterpret_cast<float *>(inputs[4]->addr); in Launch() local
/third_party/mindspore/mindspore/lite/include/
Dlite_session.h210 std::vector<tensor::MSTensor *> gradients; in GetGradients() local
218 …virtual int ApplyGradients(const std::vector<tensor::MSTensor *> &gradients) { return mindspore::l… in ApplyGradients()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/
Drmsprop_gpu_kernel.h48 T *gradients = GetDeviceAddress<T>(inputs, 4); in Launch() local
57 T *gradients = GetDeviceAddress<T>(inputs, 4); in Launch() local
/third_party/mindspore/mindspore/nn/optim/
Dthor.py94 def clip_gradient(enable_clip_grad, gradients): argument
515 def _get_ainv_ginv_list(self, gradients, damping_step, matrix_a_allreduce, matrix_g_allreduce): argument
585 def construct(self, gradients): argument
916 …def _get_fc_ainv_ginv(self, index, damping_step, gradients, matrix_a_allreduce, matrix_g_allreduce, argument
995 …def _get_ainv_ginv_amax_gmax_list(self, gradients, damping_step, matrix_a_allreduce, matrix_g_allr… argument
1116 def _get_second_gradients_one(self, params_len, gradients, new_grads): argument
1157 def _get_second_gradients(self, new_grads, damping_step, gradients): argument
1248 def construct(self, gradients): argument
Doptimizer.py286 def decay_weight(self, gradients): argument
310 def gradients_centralization(self, gradients): argument
329 def scale_grad(self, gradients): argument
349 def _grad_sparse_indices_deduplicate(self, gradients): argument
Dadam.py341 def construct(self, gradients): argument
492 def construct(self, gradients): argument
646 def construct(self, gradients): argument
Dmomentum.py162 def construct(self, gradients): argument
Dsgd.py177 def construct(self, gradients): argument
Dlars.py155 def construct(self, gradients): argument
Drmsprop.py206 def construct(self, gradients): argument
Dlamb.py312 def construct(self, gradients): argument
Dlazyadam.py260 def construct(self, gradients): argument
/third_party/mindspore/tests/st/networks/models/resnet50/src_thor/
Dthor.py313 …def _get_Ainv_Ginv_Amax_Gmax_list(self, gradients, damping_step, matrix_a_allreduce, matrix_g_allr… argument
421 def _get_second_gradients(self, new_grads, damping_step, gradients): argument
441 def construct(self, gradients): argument
/third_party/mindspore/tests/st/ops/gpu/
Dtest_rmsprop.py66 def rmsprop_numpy(variable, gradients, mean_square, moment, argument
74 def rmspropcented_numpy(variable, gradients, mean_gradients, mean_square, moment, argument
/third_party/mindspore/tests/st/ops/cpu/
Dtest_rmsprop.py66 def rmsprop_numpy(variable, gradients, mean_square, moment, argument
74 def rmspropcented_numpy(variable, gradients, mean_gradients, mean_square, moment, argument
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Drmsprop_fp32.c31 int RMSPropUnuseCenterFp32(float *variable, float *mean_square, float *moment, float *gradients, fl… in RMSPropUnuseCenterFp32()
80 int RMSPropUseCenterFp32(float *variable, float *mean_square, float *moment, float *gradients, floa… in RMSPropUseCenterFp32()
/third_party/mindspore/tests/st/ops/ascend/test_tbe_ops/
Dtest_stridedslice_grad.py50 def me_stridedslice(input_, begin, end, stride, gradients): argument
Dtest_layernorm_grad.py48 def py_me_layernorm_grad(input_data, normalized_shape, gamma, beta, axis, gradients): argument
/third_party/mindspore/mindspore/ops/_grad_experimental/
Dgrad_nn_ops.py68 def bprop(features, out, gradients): argument
/third_party/mindspore/tests/st/fl/mobile/src/
Dadam.py296 def construct(self, gradients, overflow): argument
402 def construct(self, gradients): argument
/third_party/mindspore/tests/st/fl/albert/src/
Dadam.py296 def construct(self, gradients, overflow): argument
402 def construct(self, gradients): argument
/third_party/mindspore/tests/st/fl/hybrid_lenet/src/
Dadam.py295 def construct(self, gradients, overflow): argument
401 def construct(self, gradients): argument
/third_party/mindspore/tests/mindspore_test_framework/utils/
Dmodel_util.py79 def construct(self, gradients): argument
/third_party/mindspore/mindspore/explainer/
D_utils.py59 def abs_max(gradients): argument

12