Home
last modified time | relevance | path

Searched refs:sum_3 (Results 1 – 4 of 4) sorted by relevance

/cmsis-nn-3.7.0/Source/PoolingFunctions/
Darm_avgpool_s8.c132 int32x4_t sum_3 = vdupq_n_s32(0); in arm_avgpool_s8() local
156 sum_3 = vaddq_s32(sum_3, temp_hi_lo); in arm_avgpool_s8()
181 p = vcmpgtq_n_s32(sum_3, 0); in arm_avgpool_s8()
182 sum_3 = vaddq_m_n_s32(sum_3, sum_3, half_count, p); in arm_avgpool_s8()
183 sum_3 = vsubq_m_n_s32(sum_3, sum_3, half_count, ~p); in arm_avgpool_s8()
193 sum_3[i] = sum_3[i] / count; in arm_avgpool_s8()
203 sum_3 = vmaxq_s32(sum_3, vdupq_n_s32(act_min)); in arm_avgpool_s8()
204 sum_3 = vminq_s32(sum_3, vdupq_n_s32(act_max)); in arm_avgpool_s8()
212 temp_hi = vmovnbq_s32(temp_hi, sum_3); in arm_avgpool_s8()
/cmsis-nn-3.7.0/Source/ConvolutionFunctions/
Darm_depthwise_conv_s4_opt.c325 int32_t sum_3 = 0; in arm_depthwise_conv_s4_opt() local
331 sum_3 = *bias++; in arm_depthwise_conv_s4_opt()
372 sum_3 = SMLAD(op_c, op_b, sum_3); in arm_depthwise_conv_s4_opt()
389 sum_3 += ker2 * col_pos[2]; in arm_depthwise_conv_s4_opt()
400 sum_3 += ker2 * col_pos[2 + input_ch]; in arm_depthwise_conv_s4_opt()
427 sum_3 += ker2 * col_pos[2]; in arm_depthwise_conv_s4_opt()
447 sum_3 = arm_nn_requantize(sum_3, *output_mult++, *output_shift++); in arm_depthwise_conv_s4_opt()
448 sum_3 += output_offset; in arm_depthwise_conv_s4_opt()
449 sum_3 = MAX(sum_3, output_activation_min); in arm_depthwise_conv_s4_opt()
450 sum_3 = MIN(sum_3, output_activation_max); in arm_depthwise_conv_s4_opt()
[all …]
Darm_depthwise_conv_s8_opt.c278 int32_t sum_3 = 0; in arm_depthwise_conv_s8_opt() local
284 sum_3 = *bias++; in arm_depthwise_conv_s8_opt()
325 sum_3 = SMLAD(op_c, op_b, sum_3); in arm_depthwise_conv_s8_opt()
340 sum_3 += row_pos[2] * col_pos[2]; in arm_depthwise_conv_s8_opt()
359 sum_3 = arm_nn_requantize(sum_3, *output_mult++, *output_shift++); in arm_depthwise_conv_s8_opt()
360 sum_3 += output_offset; in arm_depthwise_conv_s8_opt()
361 sum_3 = MAX(sum_3, output_activation_min); in arm_depthwise_conv_s8_opt()
362 sum_3 = MIN(sum_3, output_activation_max); in arm_depthwise_conv_s8_opt()
363 *output++ = (int8_t)sum_3; in arm_depthwise_conv_s8_opt()
Darm_depthwise_conv_fast_s16.c289 int32_t sum_3 = 0; in arm_depthwise_conv_fast_s16() local
335 sum_3 = SMLAD(col_c, row_c, sum_3); in arm_depthwise_conv_fast_s16()
350 sum_3 += row_pos[2] * col_pos[2]; in arm_depthwise_conv_fast_s16()
361 int64_t acc_3 = sum_3; in arm_depthwise_conv_fast_s16()