Home
last modified time | relevance | path

Searched defs:batch_mean (Results 1 – 14 of 14) sorted by relevance

/third_party/mindspore/mindspore/ops/_op_impl/_custom_op/
Dbatchnorm_fold_grad.py57 def _batchnorm_fold_grad_compute(d_batch_mean, d_batch_std, data_x, batch_mean, batch_std): argument
77 def batchnorm_fold_grad(d_batch_mean, d_batch_std, x, batch_mean, batch_std, dx, argument
Dbatchnorm_fold2.py58 def batchnorm_fold2_compute(x, beta, gamma, batch_std, batch_mean, running_std, kernel_name="batchn… argument
73 def batchnorm_fold2(x, beta, gamma, batch_std, batch_mean, running_std, y, kernel_name="batchnorm_f… argument
Dbatchnorm_fold2_grad.py57 def batchnorm_fold2_grad_compute(dout, dout_reduce, dout_x_reduce, gamma, batch_std, batch_mean, ru… argument
84 def batchnorm_fold2_grad(dout, dout_reduce, dout_x_reduce, gamma, batch_std, batch_mean, running_st… argument
Dbatchnorm_fold.py101 … y, batch_mean, batch_std, running_mean, running_std, mean_updated, variance_updated, argument
/third_party/mindspore/tests/st/ops/gpu/
Dtest_batchnorm_fold_grad_op.py34 def construct(self, d_batch_mean, d_batch_std, x, batch_mean, batch_std, current_step): argument
39 def np_result(d_batch_mean, d_batch_std, x, batch_mean, batch_std): argument
Dtest_batchnorm_fold2_op.py35 …def construct(self, x, beta, gamma, batch_std, batch_mean, running_std, running_mean, current_step… argument
47 …def construct(self, x, beta, gamma, batch_std, batch_mean, running_std, running_mean, current_step… argument
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dbatchnorm_fold2_impl.cu28 …NormFold2Kernel(const T *x, const T *beta, const T *gamma, const T *batch_std, const T *batch_mean, in BatchNormFold2Kernel()
67 __global__ void BatchNormFold2GradNotFreeze(const T *d_beta, const T *reduce_x, const T *batch_mean in BatchNormFold2GradNotFreeze()
104 …ormFold2Forward(const T *x, const T *beta, const T *gamma, const T *batch_std, const T *batch_mean, in BatchNormFold2Forward()
132 void CalBatchNormFold2GradNotFreeze(const T *d_beta, const T *reduce_x, const T *batch_mean, const … in CalBatchNormFold2GradNotFreeze()
146 void CalBatchNormFold2GradFreeze(const T *d_beta, const T *reduce_x, const T *batch_mean, const T *… in CalBatchNormFold2GradFreeze()
Dbatchnorm_fold_impl.cu40 __global__ void CalDx(const T* d_batch_mean, const T* d_batch_std, const T* x, const T* batch_mean,… in CalDx()
70 … CalBatchNormFoldGrad(const T* d_batch_mean, const T* d_batch_std, const T* x, const T* batch_mean, in CalBatchNormFoldGrad()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/quant/
Dbatchnorm_fold2_gpu_kernel.h56 auto *batch_mean = GetDeviceAddress<T>(inputs, 4); in Launch() local
Dbatchnorm_fold_grad_gpu_kernel.h60 T *batch_mean = GetDeviceAddress<T>(inputs, 3); in Launch() local
Dbatchnorm_fold_gpu_kernel.h70 auto batch_mean = GetDeviceAddress<T>(outputs, 0); in Launch() local
Dbatchnorm_fold2_grad_gpu_kernel.h56 auto *batch_mean = GetDeviceAddress<T>(inputs, 4); in Launch() local
/third_party/mindspore/mindspore/ops/_grad/
Dgrad_quant_ops.py118 …def bprop(x, beta, gamma, batch_std, batch_mean, running_std, running_mean, global_step, out, dout… argument
155 def bprop(x, beta, gamma, batch_std, batch_mean, running_std, out, dout): argument
/third_party/mindspore/mindspore/ops/operations/
D_grad_ops.py701 def infer_shape(self, grads, x, diff_scale, diff_offset, scale, batch_mean, batch_variance): argument
704 def infer_dtype(self, grads, x, diff_scale, diff_offset, scale, batch_mean, batch_variance): argument
716 def infer_shape(self, grads, x, batch_mean, batch_variance): argument
719 def infer_dtype(self, grads, x, batch_mean, batch_variance): argument