Home
last modified time | relevance | path

Searched refs:outter_offset (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dsoftmax_int8.c36 int outter_offset = o * axis_shape_size * inner_size; in SoftmaxInt8() local
41 int axis_offset = outter_offset + c + i * inner_size; in SoftmaxInt8()
47 int axis_offset = outter_offset + c + i * inner_size; in SoftmaxInt8()
58 int axis_offset = outter_offset + i * inner_size; in SoftmaxInt8()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dlog_softmax_fp32.c60 int outter_offset = i * input_shape[axis] * inner_size; in LogSoftmax() local
63 int inner_offset = outter_offset + k; in LogSoftmax()
78 int outter_offset = i * input_shape[axis] * inner_size; in LogSoftmax() local
81 int axis_offset = outter_offset + j * inner_size; in LogSoftmax()
Dsoftmax_fp32.c119 int outter_offset = i * input_shape[axis] * inner_size; in Softmax() local
122 int inner_offset = outter_offset + k; in Softmax()
137 int outter_offset = i * input_shape[axis] * inner_size; in Softmax() local
140 int axis_offset = outter_offset + j * inner_size; in Softmax()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dlog_softmax_fp16.c63 int outter_offset = i * input_shape[axis] * inner_size; in LogSoftmaxFp16() local
66 int inner_offset = outter_offset + k; in LogSoftmaxFp16()
81 int outter_offset = i * input_shape[axis] * inner_size; in LogSoftmaxFp16() local
84 int axis_offset = outter_offset + j * inner_size; in LogSoftmaxFp16()
Dsoftmax_fp16.c109 int outter_offset = i * input_shape[axis] * inner_size; in SoftmaxFp16() local
112 int inner_offset = outter_offset + k; in SoftmaxFp16()
127 int outter_offset = i * input_shape[axis] * inner_size; in SoftmaxFp16() local
130 int axis_offset = outter_offset + j * inner_size; in SoftmaxFp16()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/
Dsoftmax.c65 int outter_offset = i * length * inner_size; in SoftMaxP1() local
68 int inner_offset = outter_offset + k; in SoftMaxP1()
91 int outter_offset = i * length * inner_size; in SoftMaxP2() local
94 int axis_offset = outter_offset + j * inner_size; in SoftMaxP2()
Dsoftmax_grad.c45 int outter_offset = i * dim; in SoftmaxGrad() local
48 int inner_offset = outter_offset + k; in SoftmaxGrad()
57 *(output_ptr + outter_offset + k * N + j) += a * sum_data[j]; in SoftmaxGrad()
/third_party/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/operator_library/kernels/nnacl/fp32/
Dsoftmax_fp32.c119 int outter_offset = i * input_shape[axis] * inner_size; in Softmax() local
122 int inner_offset = outter_offset + k; in Softmax()
136 int outter_offset = i * input_shape[axis] * inner_size; in Softmax() local
139 int axis_offset = outter_offset + j * inner_size; in Softmax()