Home
last modified time | relevance | path

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

/cmsis-nn-3.6.0-3.5.0/Source/SoftmaxFunctions/
Darm_softmax_u8.c34 #define ACCUM_BITS 12 macro
75 sum += DIV_POW2(EXP_ON_NEG(MUL_SAT(diff * mask, mult)), ACCUM_BITS); in arm_softmax_u8()
80 const int32_t bits_over_unit = ACCUM_BITS - headroom + 23; in arm_softmax_u8()
Darm_nn_softmax_common_s8.c32 #define ACCUM_BITS 12 macro
88 sum += DIV_POW2(EXP_ON_NEG(MUL_SAT(diff * mask, mult)), ACCUM_BITS); in arm_nn_softmax_common_s8()
100 bits_over_unit = ACCUM_BITS - headroom + 15; in arm_nn_softmax_common_s8()
123 bits_over_unit = ACCUM_BITS - headroom + 23; in arm_nn_softmax_common_s8()
Darm_softmax_s8.c34 #define ACCUM_BITS 12 macro
131 res = DIV_POW2_MVE(res, ACCUM_BITS); in arm_softmax_s8()
146 sum += DIV_POW2(EXP_ON_NEG(MUL_SAT(diff * mask, mult)), ACCUM_BITS); in arm_softmax_s8()
151 const int32_t bits_over_unit = ACCUM_BITS - headroom + 23; in arm_softmax_s8()