Home
last modified time | relevance | path

Searched defs:grads (Results 1 – 20 of 20) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dsoftmax_cross_entropy_infer.c36 TensorC *grads = outputs[1]; in SoftmaxCrossEntropyInferShape() local
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32_grad/
Dsoftmax_cross_entropy_with_logits.cc32 …ropyWithLogitsCPUKernel::ForwardPostExecute(const float *labels, const float *logits, float *grads, in ForwardPostExecute()
67 float *grads = nullptr; in Execute() local
/third_party/mindspore/tests/st/ops/ascend/test_tbe_ops/
Dtest_resize_nearest_neighbor_grad.py44 def construct(self, images, grads): argument
/third_party/mindspore/tests/ut/python/nn/
Dtest_nn_pad.py41 def construct(self, x, grads): argument
/third_party/mindspore/mindspore/boost/
Dgrad_accumulation.py62 def construct(self, loss, grads): argument
Dboost_cell_wrapper.py226 def gradient_accumulation_process(self, loss, grads): argument
244 def adasum_process(self, loss, grads): argument
/third_party/mindspore/mindspore/nn/optim/
Dada_grad.py156 def construct(self, grads): argument
Dproximal_ada_grad.py183 def construct(self, grads): argument
Dftrl.py222 def construct(self, grads): argument
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/
Dctcloss_gpu_kernel.h236 …tForWS(int *label_value_pcr, int *cum_labels_length, int *label_squence_length, T *costs, T *grads, in MemsetForWS()
299 T *grads; variable
/third_party/mindspore/tests/ut/python/pynative_mode/
Dtest_ms_function.py65 def construct(self, grads): argument
/third_party/mindspore/tests/ut/python/ops/
Dtest_momentum.py67 def construct(self, grads): argument
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/
Dprimitive_py.cc93 py::tuple grads; in check_bprop_out() local
202 py::tuple grads = check_bprop_out(grads_obj, py_args); in RunCellBpropFunction() local
/third_party/mindspore/mindspore/nn/wrap/
Dgrad_reducer.py396 def construct(self, grads): argument
/third_party/mindspore/tests/st/fl/albert/src/
Dcell_wrapper.py120 grads, argument
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dctcloss_impl.cu172 … int *label_squence_length, int *cum_labels_length, T *cost, T *grads, T *prob_num, in CTCLossKernel()
422 … T *cost, T *grads, T *prob_num, bool ignore_longer_outputs_than_inputs, cudaStream_t stream) { in CTCLoss()
/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
1689 def __infer__(self, grads, size): argument
2196 def infer_dtype(self, grads, x, y): argument
2201 def infer_shape(self, grads, x, y): argument
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/
Dcomposite.cc505 std::vector<AnfNodePtr> grads; in GenerateFuncGraph() local
546 std::vector<AnfNodePtr> grads; in GenerateFuncGraph() local
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Dkpynative.cc948 std::vector<AnfNodePtr> grads; in BuildMakeSequenceBprop() local
/third_party/mindspore/mindspore/ccsrc/ps/
Dworker.cc570 const float *original_data, const float *grads, int *indices, in BuildSparseValue()