Searched refs:act_min (Results 1 – 4 of 4) sorted by relevance
/cmsis-nn-3.6.0-3.5.0/Source/PoolingFunctions/ |
D | arm_max_pool_s8.c | 97 static void clamp_output(int8_t *source, int32_t length, const int32_t act_min, const int32_t act_m… in clamp_output() argument 101 const int8x16_t vmin = vdupq_n_s8((int8_t)act_min); in clamp_output() 122 in.bytes[0] = MAX(in.bytes[0], act_min); in clamp_output() 124 in.bytes[1] = MAX(in.bytes[1], act_min); in clamp_output() 126 in.bytes[2] = MAX(in.bytes[2], act_min); in clamp_output() 128 in.bytes[3] = MAX(in.bytes[3], act_min); in clamp_output() 139 comp = MAX(comp, act_min); in clamp_output() 181 const int32_t act_min = pool_params->activation.min; in arm_max_pool_s8() local 223 clamp_output(dst_base, output_x * output_y * channel_in, act_min, act_max); in arm_max_pool_s8()
|
D | arm_max_pool_s16.c | 85 static void clamp_output(int16_t *source, int32_t length, const int16_t act_min, const int16_t act_… in clamp_output() argument 88 const int16x8_t min = vdupq_n_s16((int16_t)act_min); in clamp_output() 110 in.half_words[0] = MAX(in.half_words[0], act_min); in clamp_output() 112 in.half_words[1] = MAX(in.half_words[1], act_min); in clamp_output() 122 comp = MAX(comp, act_min); in clamp_output() 163 const int16_t act_min = pool_params->activation.min; in arm_max_pool_s16() local 205 clamp_output(dst_base, output_x * output_y * channel_in, act_min, act_max); in arm_max_pool_s16()
|
D | arm_avgpool_s8.c | 39 const int act_min, in scale_q31_to_q7_and_clamp() argument 48 sum = MAX(sum, act_min); in scale_q31_to_q7_and_clamp() 93 const int32_t act_min = pool_params->activation.min; in arm_avgpool_s8() local 187 sum_1 = vmaxq_s32(sum_1, vdupq_n_s32(act_min)); in arm_avgpool_s8() 190 sum_2 = vmaxq_s32(sum_2, vdupq_n_s32(act_min)); in arm_avgpool_s8() 193 sum_3 = vmaxq_s32(sum_3, vdupq_n_s32(act_min)); in arm_avgpool_s8() 196 sum_4 = vmaxq_s32(sum_4, vdupq_n_s32(act_min)); in arm_avgpool_s8() 238 const int32_t act_min = pool_params->activation.min; in arm_avgpool_s8() local 298 scale_q31_to_q7_and_clamp(buffer, dst, ch_src, count, act_min, act_max); in arm_avgpool_s8() 335 sum = MAX(sum, act_min); in arm_avgpool_s8()
|
D | arm_avgpool_s16.c | 40 const int act_min, in scale_q31_to_q15_and_clamp() argument 49 sum = MAX(sum, act_min); in scale_q31_to_q15_and_clamp() 91 const int32_t act_min = pool_params->activation.min; in arm_avgpool_s16() local 163 sum_1 = vmaxq_s32(sum_1, vdupq_n_s32(act_min)); in arm_avgpool_s16() 166 sum_2 = vmaxq_s32(sum_2, vdupq_n_s32(act_min)); in arm_avgpool_s16() 238 scale_q31_to_q15_and_clamp(buffer, dst, ch_src, count, act_min, act_max); in arm_avgpool_s16() 282 sum = MAX(sum, act_min); in arm_avgpool_s16()
|