Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/CMSIS/NN/Source/SoftmaxFunctions/
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()
231 sum += DIV_POW2(EXP_ON_NEG(MUL_SAT(diff * mask, mult)), ACCUM_BITS); in arm_softmax_s8()
236 const int32_t bits_over_unit = ACCUM_BITS - headroom + 23; in arm_softmax_s8()
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()