Home
last modified time | relevance | path

Searched refs:activation_max (Results 1 – 20 of 20) sorted by relevance

/cmsis-nn-latest/Source/ConvolutionFunctions/
Darm_nn_mat_mult_kernel_s16.c55 const int32_t activation_max, in arm_nn_mat_mult_kernel_s16() argument
151 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s16()
155 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_s16()
164 ch_1_out_0 = MIN(ch_1_out_0, activation_max); in arm_nn_mat_mult_kernel_s16()
168 ch_1_out_1 = MIN(ch_1_out_1, activation_max); in arm_nn_mat_mult_kernel_s16()
215 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s16()
219 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_s16()
223 ch_1_out_0 = MIN(ch_1_out_0, activation_max); in arm_nn_mat_mult_kernel_s16()
227 ch_1_out_1 = MIN(ch_1_out_1, activation_max); in arm_nn_mat_mult_kernel_s16()
298 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s16()
[all …]
Darm_nn_mat_mult_kernel_row_offset_s8_s16.c47 const int16_t activation_max, in arm_nn_mat_mult_kernel_row_offset_s8_s16() argument
136 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_row_offset_s8_s16()
142 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_row_offset_s8_s16()
150 ch_1_out_0 = MIN(ch_1_out_0, activation_max); in arm_nn_mat_mult_kernel_row_offset_s8_s16()
156 ch_1_out_1 = MIN(ch_1_out_1, activation_max); in arm_nn_mat_mult_kernel_row_offset_s8_s16()
222 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_row_offset_s8_s16()
228 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_row_offset_s8_s16()
246 (void)activation_max; in arm_nn_mat_mult_kernel_row_offset_s8_s16()
Darm_nn_mat_mult_kernel_s8_s16.c47 const int16_t activation_max, in arm_nn_mat_mult_kernel_s8_s16() argument
131 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
137 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
145 ch_1_out_0 = MIN(ch_1_out_0, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
151 ch_1_out_1 = MIN(ch_1_out_1, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
215 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
221 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_s8_s16()
239 (void)activation_max; in arm_nn_mat_mult_kernel_s8_s16()
Darm_nn_depthwise_conv_s8_core.c47 const int32_t activation_max, in arm_nn_depthwise_conv_s8_core() argument
143 out_0 = vminq_s32(out_0, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_s8_core()
148 out_1 = vminq_s32(out_1, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_s8_core()
192 col_0_sum = vminq_s32(col_0_sum, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_s8_core()
197 col_1_sum = vminq_s32(col_1_sum, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_s8_core()
212 (void)activation_max; in arm_nn_depthwise_conv_s8_core()
Darm_nn_mat_mult_kernel_s4_s16.c46 const int32_t activation_max, in arm_nn_mat_mult_kernel_s4_s16() argument
172 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s4_s16()
179 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_s4_s16()
188 ch_1_out_0 = MIN(ch_1_out_0, activation_max); in arm_nn_mat_mult_kernel_s4_s16()
194 ch_1_out_1 = MIN(ch_1_out_1, activation_max); in arm_nn_mat_mult_kernel_s4_s16()
299 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s4_s16()
306 ch_0_out_1 = MIN(ch_0_out_1, activation_max); in arm_nn_mat_mult_kernel_s4_s16()
315 ch_1_out_0 = MIN(ch_1_out_0, activation_max); in arm_nn_mat_mult_kernel_s4_s16()
321 ch_1_out_1 = MIN(ch_1_out_1, activation_max); in arm_nn_mat_mult_kernel_s4_s16()
421 ch_0_out_0 = MIN(ch_0_out_0, activation_max); in arm_nn_mat_mult_kernel_s4_s16()
[all …]
Darm_nn_mat_mult_s8.c49 const int16_t activation_max, in arm_nn_mat_mult_s8() argument
113 res = vminq_s32(res, vdupq_n_s32(activation_max)); in arm_nn_mat_mult_s8()
155 acc_0 = MIN(acc_0, activation_max); in arm_nn_mat_mult_s8()
174 (void)activation_max; in arm_nn_mat_mult_s8()
Darm_transpose_conv_s8.c70 const int32_t activation_max = transpose_conv_params->activation.max; in arm_transpose_conv_s8() local
190 result = vminq_s32(result, vdupq_n_s32(activation_max)); in arm_transpose_conv_s8()
204 result = MIN(result, activation_max); in arm_transpose_conv_s8()
/cmsis-nn-latest/Source/BasicMathFunctions/
Darm_elementwise_mul_acc_s16.c66 const int32_t activation_max = (out_activation_max > 0) ? out_activation_max : NN_Q15_MAX; in arm_elementwise_mul_acc_s16() local
87 res_0 = vminq_s32(res_0, vdupq_n_s32(activation_max)); in arm_elementwise_mul_acc_s16()
121 mul_res = MIN(mul_res, activation_max); in arm_elementwise_mul_acc_s16()
134 mul_res = MIN(mul_res, activation_max); in arm_elementwise_mul_acc_s16()
155 mul_res = MIN(mul_res, activation_max); in arm_elementwise_mul_acc_s16()
/cmsis-nn-latest/Source/NNSupportFunctions/
Darm_nn_depthwise_conv_nt_t_s16.c53 const int32_t activation_max, in arm_nn_depthwise_conv_nt_t_s16() argument
129 out_0 = vminq_s32(out_0, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s16()
133 out_1 = vminq_s32(out_1, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s16()
137 out_2 = vminq_s32(out_2, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s16()
141 out_3 = vminq_s32(out_3, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s16()
161 (void)activation_max; in arm_nn_depthwise_conv_nt_t_s16()
Darm_nn_depthwise_conv_nt_t_padded_s8.c65 const int32_t activation_max, in arm_nn_depthwise_conv_nt_t_padded_s8() argument
131 out_0 = vminq_s32(out_0, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_padded_s8()
138 out_1 = vminq_s32(out_1, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_padded_s8()
144 out_2 = vminq_s32(out_2, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_padded_s8()
150 out_3 = vminq_s32(out_3, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_padded_s8()
166 (void)activation_max; in arm_nn_depthwise_conv_nt_t_padded_s8()
Darm_nn_vec_mat_mult_t_s16.c57 const int32_t activation_max) in arm_nn_vec_mat_mult_t_s16() argument
141 tmp = MIN(tmp, activation_max); in arm_nn_vec_mat_mult_t_s16()
147 tmp = MIN(tmp, activation_max); in arm_nn_vec_mat_mult_t_s16()
153 tmp = MIN(tmp, activation_max); in arm_nn_vec_mat_mult_t_s16()
159 tmp = MIN(tmp, activation_max); in arm_nn_vec_mat_mult_t_s16()
210 tmp = MIN(tmp, activation_max); in arm_nn_vec_mat_mult_t_s16()
275 tmp = MIN(tmp, activation_max); in arm_nn_vec_mat_mult_t_s16()
280 tmp = MIN(tmp, activation_max); in arm_nn_vec_mat_mult_t_s16()
322 tmp = MIN(tmp, activation_max); in arm_nn_vec_mat_mult_t_s16()
355 result = ((result) < (activation_max) ? (result) : (activation_max)); in arm_nn_vec_mat_mult_t_s16()
Darm_nn_depthwise_conv_nt_t_s8.c56 const int32_t activation_max, in arm_nn_depthwise_conv_nt_t_s8() argument
126 out_0 = vminq_s32(out_0, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s8()
132 out_1 = vminq_s32(out_1, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s8()
138 out_2 = vminq_s32(out_2, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s8()
144 out_3 = vminq_s32(out_3, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s8()
159 (void)activation_max; in arm_nn_depthwise_conv_nt_t_s8()
Darm_nn_depthwise_conv_nt_t_s4.c58 const int32_t activation_max, in arm_nn_depthwise_conv_nt_t_s4() argument
184 out_0 = vminq_s32(out_0, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s4()
190 out_1 = vminq_s32(out_1, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s4()
196 out_2 = vminq_s32(out_2, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s4()
202 out_3 = vminq_s32(out_3, vdupq_n_s32(activation_max)); in arm_nn_depthwise_conv_nt_t_s4()
217 (void)activation_max; in arm_nn_depthwise_conv_nt_t_s4()
Darm_nn_vec_mat_mult_t_s8.c70 const int32_t activation_max, in arm_nn_vec_mat_mult_t_s8() argument
147 acc = vminq_s32(acc, vdupq_n_s32(activation_max)); in arm_nn_vec_mat_mult_t_s8()
194 *dst = MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_s8()
265 acc_0 = MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_s8()
267 acc_1 = MIN(acc_1, activation_max); in arm_nn_vec_mat_mult_t_s8()
313 acc_0 = MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_s8()
368 res00 = MIN(res00, activation_max); in arm_nn_vec_mat_mult_t_s8()
370 res01 = MIN(res01, activation_max); in arm_nn_vec_mat_mult_t_s8()
372 res02 = MIN(res02, activation_max); in arm_nn_vec_mat_mult_t_s8()
414 res00 = MIN(res00, activation_max); in arm_nn_vec_mat_mult_t_s8()
[all …]
Darm_nn_mat_mult_nt_t_s16.c58 const int32_t activation_max) in arm_nn_mat_mult_nt_t_s16() argument
150 result = vminq_s32(result, vdupq_n_s32(activation_max)); in arm_nn_mat_mult_nt_t_s16()
197 res = vminq_s32(res, vdupq_n_s32(activation_max)); in arm_nn_mat_mult_nt_t_s16()
257 res = vminq_s32(res, vdupq_n_s32(activation_max)); in arm_nn_mat_mult_nt_t_s16()
270 acc_n0 = MIN(acc_n0, activation_max); in arm_nn_mat_mult_nt_t_s16()
332 acc_n0 = MIN(acc_n0, activation_max); in arm_nn_mat_mult_nt_t_s16()
346 (void)activation_max; in arm_nn_mat_mult_nt_t_s16()
Darm_nn_mat_mult_nt_t_s8.c60 const int32_t activation_max, in arm_nn_mat_mult_nt_t_s8() argument
142 res = vminq_s32(res, vdupq_n_s32(activation_max)); in arm_nn_mat_mult_nt_t_s8()
206 res = vminq_s32(res, vdupq_n_s32(activation_max)); in arm_nn_mat_mult_nt_t_s8()
219 acc_n0 = MIN(acc_n0, activation_max); in arm_nn_mat_mult_nt_t_s8()
429 res00 = MIN(res00, activation_max); in arm_nn_mat_mult_nt_t_s8()
431 res01 = MIN(res01, activation_max); in arm_nn_mat_mult_nt_t_s8()
433 res10 = MIN(res10, activation_max); in arm_nn_mat_mult_nt_t_s8()
435 res11 = MIN(res11, activation_max); in arm_nn_mat_mult_nt_t_s8()
571 res00 = MIN(res00, activation_max); in arm_nn_mat_mult_nt_t_s8()
573 res01 = MIN(res01, activation_max); in arm_nn_mat_mult_nt_t_s8()
[all …]
Darm_nn_vec_mat_mult_t_svdf_s8.c59 const int32_t activation_max) in arm_nn_vec_mat_mult_t_svdf_s8() argument
120 acc = vminq_s32(acc, vdupq_n_s32(activation_max)); in arm_nn_vec_mat_mult_t_svdf_s8()
158 *dst = (int16_t)MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
291 acc_0 = MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
293 acc_1 = MIN(acc_1, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
328 acc_0 = MIN(acc_0, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
370 res00 = MIN(res00, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
372 res01 = MIN(res01, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
374 res02 = MIN(res02, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
408 res00 = MIN(res00, activation_max); in arm_nn_vec_mat_mult_t_svdf_s8()
Darm_nn_mat_mult_nt_t_s4.c60 const int32_t activation_max, in arm_nn_mat_mult_nt_t_s4() argument
168 res = vminq_s32(res, vdupq_n_s32(activation_max)); in arm_nn_mat_mult_nt_t_s4()
264 res = vminq_x_s32(res, vdupq_n_s32(activation_max), requant_mask); in arm_nn_mat_mult_nt_t_s4()
345 res = vminq_s32(res, vdupq_n_s32(activation_max)); in arm_nn_mat_mult_nt_t_s4()
358 acc_n0 = MIN(acc_n0, activation_max); in arm_nn_mat_mult_nt_t_s4()
604 res00 = MIN(res00, activation_max); in arm_nn_mat_mult_nt_t_s4()
606 res01 = MIN(res01, activation_max); in arm_nn_mat_mult_nt_t_s4()
608 res10 = MIN(res10, activation_max); in arm_nn_mat_mult_nt_t_s4()
610 res11 = MIN(res11, activation_max); in arm_nn_mat_mult_nt_t_s4()
790 res00 = MIN(res00, activation_max); in arm_nn_mat_mult_nt_t_s4()
[all …]
Darm_nn_vec_mat_mult_t_s4.c64 const int32_t activation_max) in arm_nn_vec_mat_mult_t_s4() argument
295 acc = vminq_s32(acc, vdupq_n_s32(activation_max)); in arm_nn_vec_mat_mult_t_s4()
393 res0 = MIN(res0, activation_max); in arm_nn_vec_mat_mult_t_s4()
395 res1 = MIN(res1, activation_max); in arm_nn_vec_mat_mult_t_s4()
461 res0 = MIN(res0, activation_max); in arm_nn_vec_mat_mult_t_s4()
463 res1 = MIN(res1, activation_max); in arm_nn_vec_mat_mult_t_s4()
542 res0 = MIN(res0, activation_max); in arm_nn_vec_mat_mult_t_s4()
544 res1 = MIN(res1, activation_max); in arm_nn_vec_mat_mult_t_s4()
589 res0 = MIN(res0, activation_max); in arm_nn_vec_mat_mult_t_s4()
591 res1 = MIN(res1, activation_max); in arm_nn_vec_mat_mult_t_s4()
[all …]
/cmsis-nn-latest/Include/
Darm_nnsupportfunctions.h240 const int32_t activation_max,
310 const int32_t activation_max,
461 const int32_t activation_max,
507 const int32_t activation_max,
552 const int32_t activation_max);
614 const int32_t activation_max);
653 const int32_t activation_max,
683 const int32_t activation_max);
715 const int32_t activation_max);
755 const int32_t activation_max,
[all …]