Searched refs:ACCUM_BITS (Results 1 – 3 of 3) sorted by relevance
34 #define ACCUM_BITS 12 macro75 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()
32 #define ACCUM_BITS 12 macro88 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()
34 #define ACCUM_BITS 12 macro131 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()