Home
last modified time | relevance | path

Searched refs:outter_size (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/
Dsoftmax_grad.c29 int inner_size = 1, outter_size = 1; in SoftmaxGrad() local
31 outter_size *= input_shape[i]; in SoftmaxGrad()
36 NNACL_CHECK_ZERO_RETURN(outter_size); in SoftmaxGrad()
39 dim /= outter_size; in SoftmaxGrad()
44 for (int i = 0; i < outter_size; i++) { in SoftmaxGrad()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dlog_softmax_fp32.c51 int outter_size = 1; in LogSoftmax() local
54 outter_size *= input_shape[i]; in LogSoftmax()
59 for (int i = 0; i < outter_size; i++) { in LogSoftmax()
77 for (int i = 0; i < outter_size; i++) { in LogSoftmax()
Dsoftmax_fp32.c110 int outter_size = 1; in Softmax() local
113 outter_size *= input_shape[i]; in Softmax()
118 for (int i = 0; i < outter_size; i++) { in Softmax()
136 for (int i = 0; i < outter_size; i++) { in Softmax()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/int8/
Dsoftmax_int8_coder.cc66 int outter_size = 1; in DoCode() local
68 outter_size *= softmax_param_->input_shape_[i]; in DoCode()
91 int stride = UP_DIV(outter_size, thread_num_); in DoCode()
92 int count = MSMIN(stride, outter_size - stride * kDefaultTaskId); in DoCode()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dlog_softmax_fp16.c54 int outter_size = 1; in LogSoftmaxFp16() local
57 outter_size *= input_shape[i]; in LogSoftmaxFp16()
62 for (int i = 0; i < outter_size; i++) { in LogSoftmaxFp16()
80 for (int i = 0; i < outter_size; i++) { in LogSoftmaxFp16()
Dsoftmax_fp16.c100 int outter_size = 1; in SoftmaxFp16() local
103 outter_size *= input_shape[i]; in SoftmaxFp16()
108 for (int i = 0; i < outter_size; i++) { in SoftmaxFp16()
126 for (int i = 0; i < outter_size; i++) { in SoftmaxFp16()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dsoftmax_int8.cc91 int outter_size = 1, inner_size = 1; in DoSoftmax() local
93 outter_size *= softmax_param_->input_shape_[i]; in DoSoftmax()
99 int stride = UP_DIV(outter_size, thread_count_); in DoSoftmax()
104 int count = MSMIN(stride, outter_size - stride * task_id); in DoSoftmax()
/third_party/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/operator_library/kernels/nnacl/fp32/
Dsoftmax_fp32.c110 int outter_size = 1; in Softmax() local
113 outter_size *= input_shape[i]; in Softmax()
118 for (int i = 0; i < outter_size; i++) { in Softmax()
135 for (int i = 0; i < outter_size; i++) { in Softmax()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32_grad/
Dsparse_softmax_cross_entropy_with_logits.cc133 int outter_size = 1; in Run() local
142 outter_size *= input_shape[i]; in Run()
148 outter_size_ = outter_size; in Run()