Home
last modified time | relevance | path

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

/cmsis-3.4.0/CMSIS/NN/Source/SoftmaxFunctions/
Darm_softmax_s8.c89 const int32_t mult, in arm_softmax_s8() argument
128 int32x4_t res = MUL_SAT_MVE(ip, vdupq_n_s32(mult)); in arm_softmax_s8()
146 sum += DIV_POW2(EXP_ON_NEG(MUL_SAT(diff * mask, mult)), ACCUM_BITS); in arm_softmax_s8()
170 tmp_res = MUL_SAT_MVE(ip, vdupq_n_s32(mult)); in arm_softmax_s8()
195 … DIV_POW2(MUL_SAT(shifted_scale, EXP_ON_NEG(MUL_SAT(diff * mask, mult))), bits_over_unit) - 128; in arm_softmax_s8()
231 sum += DIV_POW2(EXP_ON_NEG(MUL_SAT(diff * mask, mult)), ACCUM_BITS); in arm_softmax_s8()
245 … DIV_POW2(MUL_SAT(shifted_scale, EXP_ON_NEG(MUL_SAT(diff * mask, mult))), bits_over_unit) - 128; in arm_softmax_s8()
Darm_softmax_u8.c47 const int32_t mult, in arm_softmax_u8() argument
75 sum += DIV_POW2(EXP_ON_NEG(MUL_SAT(diff * mask, mult)), ACCUM_BITS); in arm_softmax_u8()
89 … DIV_POW2(MUL_SAT(shifted_scale, EXP_ON_NEG(MUL_SAT(diff * mask, mult))), bits_over_unit); in arm_softmax_u8()
/cmsis-3.4.0/CMSIS/NN/Source/NNSupportFunctions/
Darm_nn_depthwise_conv_nt_t_padded_s8.c111 const int32x4_t mult = vldrwq_s32(out_mult); in arm_nn_depthwise_conv_nt_t_padded_s8() local
116 out_0 = arm_requantize_mve_32x4(out_0, mult, shift); in arm_nn_depthwise_conv_nt_t_padded_s8()
123 out_1 = arm_requantize_mve_32x4(out_1, mult, shift); in arm_nn_depthwise_conv_nt_t_padded_s8()
129 out_2 = arm_requantize_mve_32x4(out_2, mult, shift); in arm_nn_depthwise_conv_nt_t_padded_s8()
135 out_3 = arm_requantize_mve_32x4(out_3, mult, shift); in arm_nn_depthwise_conv_nt_t_padded_s8()
Darm_nn_depthwise_conv_nt_t_s8.c113 const int32x4_t mult = vldrwq_s32(out_mult); in arm_nn_depthwise_conv_nt_t_s8() local
119 out_0 = arm_requantize_mve_32x4(out_0, mult, shift); in arm_nn_depthwise_conv_nt_t_s8()
125 out_1 = arm_requantize_mve_32x4(out_1, mult, shift); in arm_nn_depthwise_conv_nt_t_s8()
131 out_2 = arm_requantize_mve_32x4(out_2, mult, shift); in arm_nn_depthwise_conv_nt_t_s8()
137 out_3 = arm_requantize_mve_32x4(out_3, mult, shift); in arm_nn_depthwise_conv_nt_t_s8()
/cmsis-3.4.0/CMSIS/NN/Source/ConvolutionFunctions/
Darm_nn_depthwise_conv_s8_core.c133 const int32x4_t mult = vldrwq_s32(out_mult); in arm_nn_depthwise_conv_s8_core() local
138 out_0 = arm_requantize_mve_32x4(out_0, mult, shift); in arm_nn_depthwise_conv_s8_core()
139 out_1 = arm_requantize_mve_32x4(out_1, mult, shift); in arm_nn_depthwise_conv_s8_core()
184 const int32x4_t mult = vldrwq_z_s32(out_mult, p); in arm_nn_depthwise_conv_s8_core() local
187 col_0_sum = arm_requantize_mve_32x4(col_0_sum, mult, shift); in arm_nn_depthwise_conv_s8_core()
188 col_1_sum = arm_requantize_mve_32x4(col_1_sum, mult, shift); in arm_nn_depthwise_conv_s8_core()
Darm_nn_mat_mult_kernel_s8_s16.c148 int32x4_t mult = vldrwq_s32(out_mult); in arm_nn_mat_mult_kernel_s8_s16() local
153 out_vec_0 = arm_requantize_mve_32x4(out_vec_0, mult, shift); in arm_nn_mat_mult_kernel_s8_s16()
154 out_vec_1 = arm_requantize_mve_32x4(out_vec_1, mult, shift); in arm_nn_mat_mult_kernel_s8_s16()
Darm_depthwise_conv_s8_opt.c188 const int32x4_t mult = vldrwq_s32(&output_mult[offset]); in arm_depthwise_conv_s8_opt() local
191 out_0 = arm_requantize_mve_32x4(out_0, mult, shift); in arm_depthwise_conv_s8_opt()
/cmsis-3.4.0/CMSIS/NN/Include/
Darm_nnsupportfunctions.h702 q63_t mult = 1 << 30; in arm_nn_doubling_high_mult() local
706 mult = 1 - mult; in arm_nn_doubling_high_mult()
709 mult = mult + (q63_t)m1 * m2; in arm_nn_doubling_high_mult()
713 result = (int32_t)(mult / (1ll << 31)); in arm_nn_doubling_high_mult()
739 union arm_nn_long_long mult; in arm_nn_doubling_high_mult_no_sat() local
742 mult.word.low = 1 << 30; in arm_nn_doubling_high_mult_no_sat()
743 mult.word.high = 0; in arm_nn_doubling_high_mult_no_sat()
746 mult.long_long = mult.long_long + (q63_t)m1 * m2; in arm_nn_doubling_high_mult_no_sat()
750 result = (int32_t)(mult.long_long >> 31); in arm_nn_doubling_high_mult_no_sat()
Darm_nnfunctions.h1757 const int32_t mult,
1780 const int32_t mult,