Home
last modified time | relevance | path

Searched refs:bits_over_unit (Results 1 – 3 of 3) sorted by relevance

/cmsis-nn-3.6.0-3.5.0/Source/SoftmaxFunctions/
Darm_nn_softmax_common_s8.c94 int32_t bits_over_unit; in arm_nn_softmax_common_s8() local
100 bits_over_unit = ACCUM_BITS - headroom + 15; in arm_nn_softmax_common_s8()
109 … DIV_POW2(MUL_SAT(shifted_scale, EXP_ON_NEG(MUL_SAT(diff * mask, mult))), bits_over_unit) + in arm_nn_softmax_common_s8()
123 bits_over_unit = ACCUM_BITS - headroom + 23; in arm_nn_softmax_common_s8()
131 … DIV_POW2(MUL_SAT(shifted_scale, EXP_ON_NEG(MUL_SAT(diff * mask, mult))), bits_over_unit) + in arm_nn_softmax_common_s8()
Darm_softmax_u8.c80 const int32_t bits_over_unit = ACCUM_BITS - headroom + 23; in arm_softmax_u8() local
89 … DIV_POW2(MUL_SAT(shifted_scale, EXP_ON_NEG(MUL_SAT(diff * mask, mult))), bits_over_unit); in arm_softmax_u8()
Darm_softmax_s8.c151 const int32_t bits_over_unit = ACCUM_BITS - headroom + 23; in arm_softmax_s8() local
173 tmp_res = DIV_POW2_MVE(tmp_res, bits_over_unit); in arm_softmax_s8()
195 … DIV_POW2(MUL_SAT(shifted_scale, EXP_ON_NEG(MUL_SAT(diff * mask, mult))), bits_over_unit) + in arm_softmax_s8()