/cmsis-nn-latest/Source/SoftmaxFunctions/ |
D | arm_softmax_u8.c | 60 uint8_t max = *input; in arm_softmax_u8() local 64 max = MAX(max, input[col]); in arm_softmax_u8() 72 diff = input[col] - max; in arm_softmax_u8() 85 diff = input[col] - max; in arm_softmax_u8()
|
D | arm_nn_softmax_common_s8.c | 73 int8_t max = *input; in arm_nn_softmax_common_s8() local 77 max = MAX(max, input[col]); in arm_nn_softmax_common_s8() 85 diff = input[col] - max; in arm_nn_softmax_common_s8() 104 diff = input[col] - max; in arm_nn_softmax_common_s8() 127 diff = input[col] - max; in arm_nn_softmax_common_s8()
|
D | arm_softmax_s16.c | 58 int16_t max = *input; in arm_softmax_s16() local 61 max = MAX(max, input[col]); in arm_softmax_s16() 70 diff = input[col] - max; in arm_softmax_s16()
|
D | arm_softmax_s8.c | 103 int8_t max = ACT_MIN; in arm_softmax_s8() local 111 max = vmaxvq_p_s8(max, ip, p); in arm_softmax_s8() 122 ip = vsubq_n_s32(ip, max); in arm_softmax_s8() 143 const int32_t diff = input[tail_idx + i] - max; in arm_softmax_s8() 160 ip = vsubq_n_s32(ip, max); in arm_softmax_s8() 191 int32_t diff = input[tail_idx + i] - max; in arm_softmax_s8()
|
/cmsis-nn-latest/Source/PoolingFunctions/ |
D | arm_max_pool_s16.c | 43 const int16x8_t max = vmaxq_s16(op_1, op_2); in compare_and_replace_if_larger() local 44 vstrhq_p_s16(base, max, p); in compare_and_replace_if_larger() 89 const int16x8_t max = vdupq_n_s16((int16_t)act_max); in clamp_output() local 98 res = vminq_x_s16(res, max, p); in clamp_output() 165 const int16_t act_max = pool_params->activation.max; in arm_max_pool_s16()
|
D | arm_max_pool_s8.c | 43 const int8x16_t max = vmaxq_x_s8(op_1, op_2, p); in compare_and_replace_if_larger_q7() local 44 vstrbq_p_s8(base, max, p); in compare_and_replace_if_larger_q7() 182 const int32_t act_max = pool_params->activation.max; in arm_max_pool_s8()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_max_pool_s8/ |
D | test_arm_max_pool_s8.c | 63 pool_params.activation.max = MAXPOOLING_OUT_ACTIVATION_MAX; in maxpooling_arm_max_pool_s8() 104 pool_params.activation.max = MAXPOOLING_1_OUT_ACTIVATION_MAX; in maxpooling_1_arm_max_pool_s8() 145 pool_params.activation.max = MAXPOOLING_2_OUT_ACTIVATION_MAX; in maxpooling_2_arm_max_pool_s8() 186 pool_params.activation.max = MAXPOOLING_3_OUT_ACTIVATION_MAX; in maxpooling_3_arm_max_pool_s8() 227 pool_params.activation.max = MAXPOOLING_4_OUT_ACTIVATION_MAX; in maxpooling_4_arm_max_pool_s8() 268 pool_params.activation.max = MAXPOOLING_5_OUT_ACTIVATION_MAX; in maxpooling_5_arm_max_pool_s8() 309 pool_params.activation.max = MAXPOOLING_6_OUT_ACTIVATION_MAX; in maxpooling_6_arm_max_pool_s8() 350 pool_params.activation.max = MAXPOOLING_7_OUT_ACTIVATION_MAX; in maxpooling_7_arm_max_pool_s8() 391 pool_params.activation.max = MAXPOOLING_7_OUT_ACTIVATION_MAX; in maxpooling_param_fail_arm_max_pool_s8()
|
/cmsis-nn-latest/Source/FullyConnectedFunctions/ |
D | arm_fully_connected_s16.c | 80 fc_params->activation.max); in arm_fully_connected_s16()
|
D | arm_fully_connected_s4.c | 82 fc_params->activation.max); in arm_fully_connected_s4()
|
D | arm_fully_connected_s8.c | 90 fc_params->activation.max, in arm_fully_connected_s8()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_max_pool_s16/ |
D | test_arm_max_pool_s16.c | 58 pool_params.activation.max = MAXPOOL_INT16_OUT_ACTIVATION_MAX; in maxpool_int16_arm_max_pool_s16() 99 pool_params.activation.max = MAXPOOL_INT16_1_OUT_ACTIVATION_MAX; in maxpool_int16_1_arm_max_pool_s16() 140 pool_params.activation.max = MAXPOOL_INT16_2_OUT_ACTIVATION_MAX; in maxpool_int16_2_arm_max_pool_s16() 181 pool_params.activation.max = MAXPOOL_INT16_2_OUT_ACTIVATION_MAX; in maxpool_int16_param_fail_arm_max_pool_s16()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_svdf_state_s16_s8/ |
D | test_arm_svdf_state_s16_s8.c | 73 svdf_params.input_activation.max = SVDF_IN_ACTIVATION_MAX; in svdf_arm_svdf_state_s16_s8() 75 svdf_params.output_activation.max = SVDF_OUT_ACTIVATION_MAX; in svdf_arm_svdf_state_s16_s8() 159 svdf_1_params.input_activation.max = SVDF_1_IN_ACTIVATION_MAX; in svdf_1_arm_svdf_state_s16_s8() 161 svdf_1_params.output_activation.max = SVDF_1_OUT_ACTIVATION_MAX; in svdf_1_arm_svdf_state_s16_s8() 244 svdf_2_params.input_activation.max = SVDF_2_IN_ACTIVATION_MAX; in svdf_2_arm_svdf_state_s16_s8() 246 svdf_2_params.output_activation.max = SVDF_2_OUT_ACTIVATION_MAX; in svdf_2_arm_svdf_state_s16_s8() 329 svdf_3_params.input_activation.max = SVDF_3_IN_ACTIVATION_MAX; in svdf_3_arm_svdf_state_s16_s8() 331 svdf_3_params.output_activation.max = SVDF_3_OUT_ACTIVATION_MAX; in svdf_3_arm_svdf_state_s16_s8()
|
/cmsis-nn-latest/Source/NNSupportFunctions/ |
D | arm_nn_mat_mul_core_1x_s8.c | 63 const int32_t out_activation_max = conv_params->activation.max; in arm_nn_mat_mul_core_1x_s8() 132 acc_n0 = MIN(acc_n0, conv_params->activation.max); in arm_nn_mat_mul_core_1x_s8()
|
D | arm_nn_mat_mul_core_1x_s4.c | 63 const int32_t out_activation_max = conv_params->activation.max; in arm_nn_mat_mul_core_1x_s4() 128 acc_n0 = MIN(acc_n0, conv_params->activation.max); in arm_nn_mat_mul_core_1x_s4()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_avgpool_s8/ |
D | test_arm_avgpool_s8.c | 59 pool_params.activation.max = AVGPOOLING_OUT_ACTIVATION_MAX; in avgpooling_arm_avgpool_s8() 106 pool_params.activation.max = AVGPOOLING_1_OUT_ACTIVATION_MAX; in avgpooling_1_arm_avgpool_s8() 152 pool_params.activation.max = AVGPOOLING_2_OUT_ACTIVATION_MAX; in avgpooling_2_arm_avgpool_s8() 198 pool_params.activation.max = AVGPOOLING_3_OUT_ACTIVATION_MAX; in avgpooling_3_arm_avgpool_s8() 244 pool_params.activation.max = AVGPOOLING_4_OUT_ACTIVATION_MAX; in avgpooling_4_arm_avgpool_s8() 290 pool_params.activation.max = AVGPOOLING_5_OUT_ACTIVATION_MAX; in avgpooling_5_arm_avgpool_s8() 356 pool_params.activation.max = AVGPOOLING_5_OUT_ACTIVATION_MAX; in avgpooling_param_fail_arm_avgpool_s8()
|
/cmsis-nn-latest/Source/ConvolutionFunctions/ |
D | arm_convolve_1x1_s4_fast.c | 88 conv_params->activation.max, in arm_convolve_1x1_s4_fast()
|
D | arm_convolve_1x1_s8_fast.c | 88 conv_params->activation.max, in arm_convolve_1x1_s8_fast()
|
D | arm_convolve_1_x_n_s8.c | 139 conv_params->activation.max, in arm_convolve_1_x_n_s8() 169 conv_params->activation.max, in arm_convolve_1_x_n_s8() 203 conv_params->activation.max, in arm_convolve_1_x_n_s8()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_avgpool_s16/ |
D | test_arm_avgpool_s16.c | 57 pool_params.activation.max = AVGPOOLING_INT16_OUT_ACTIVATION_MAX; in avgpooling_int16_arm_avgpool_s16() 104 pool_params.activation.max = AVGPOOLING_INT16_1_OUT_ACTIVATION_MAX; in avgpooling_int16_1_arm_avgpool_s16() 150 pool_params.activation.max = AVGPOOLING_INT16_2_OUT_ACTIVATION_MAX; in avgpooling_int16_2_arm_avgpool_s16() 196 pool_params.activation.max = AVGPOOLING_INT16_3_OUT_ACTIVATION_MAX; in avgpooling_int16_3_arm_avgpool_s16() 264 pool_params.activation.max = AVGPOOLING_INT16_3_OUT_ACTIVATION_MAX; in avgpooling_int16_param_fail_arm_avgpool_s16()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_svdf_s8/ |
D | test_arm_svdf_s8.c | 59 svdf_int8_params.input_activation.max = SVDF_INT8_IN_ACTIVATION_MAX; in svdf_int8_arm_svdf_s8() 61 svdf_int8_params.output_activation.max = SVDF_INT8_OUT_ACTIVATION_MAX; in svdf_int8_arm_svdf_s8() 174 svdf_int8_2_params.input_activation.max = SVDF_INT8_2_IN_ACTIVATION_MAX; in svdf_int8_2_arm_svdf_s8() 176 svdf_int8_2_params.output_activation.max = SVDF_INT8_2_OUT_ACTIVATION_MAX; in svdf_int8_2_arm_svdf_s8()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_fully_connected_s4/ |
D | test_arm_fully_connected_s4.c | 64 fc_params.activation.max = FULLY_CONNECTED_INT4_OUT_ACTIVATION_MAX; in fully_connected_int4_arm_fully_connected_s4() 127 fc_params.activation.max = FULLY_CONNECTED_INT4_2_OUT_ACTIVATION_MAX; in fully_connected_int4_arm_fully_connected_s4_2() 190 fc_params.activation.max = FULLY_CONNECTED_INT4_3_OUT_ACTIVATION_MAX; in fully_connected_int4_arm_fully_connected_s4_3() 253 fc_params.activation.max = FULLY_CONNECTED_INT4_4_OUT_ACTIVATION_MAX; in fully_connected_int4_arm_fully_connected_s4_4() 316 fc_params.activation.max = FULLY_CONNECTED_INT4_5_OUT_ACTIVATION_MAX; in fully_connected_int4_arm_fully_connected_s4_5() 379 fc_params.activation.max = FULLY_CONNECTED_INT4_6_OUT_ACTIVATION_MAX; in fully_connected_int4_arm_fully_connected_s4_6()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_1x1_s8_fast/ |
D | test_arm_convolve_1x1_s8_fast.c | 72 conv_params.activation.max = KERNEL1X1_OUT_ACTIVATION_MAX; in kernel1x1_arm_convolve_1x1_s8_fast() 146 conv_params.activation.max = KERNEL1X1_STRIDE_X_OUT_ACTIVATION_MAX; in kernel1x1_stride_x_arm_convolve_1x1_s8() 234 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_OUT_ACTIVATION_MAX; in kernel1x1_stride_x_y_arm_convolve_1x1_s8() 325 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_1_OUT_ACTIVATION_MAX; in kernel1x1_stride_x_y_1_arm_convolve_1x1_s8() 392 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_2_OUT_ACTIVATION_MAX; in kernel1x1_stride_x_y_2_arm_convolve_1x1_s8() 442 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_2_OUT_ACTIVATION_MAX; in buffer_size_arm_convolve_1x1_s8_fast() 479 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_2_OUT_ACTIVATION_MAX; in buffer_size_mve_arm_convolve_1x1_s8_fast() 518 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_2_OUT_ACTIVATION_MAX; in buffer_size_dsp_arm_convolve_1x1_s8_fast()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_1x1_s4_fast/ |
D | test_arm_convolve_1x1_s4_fast.c | 76 conv_params.activation.max = KERNEL1X1_INT4_OUT_ACTIVATION_MAX; in kernel1x1_arm_convolve_1x1_s4_fast() 150 conv_params.activation.max = KERNEL1X1_INT4_2_OUT_ACTIVATION_MAX; in kernel1x1_2_arm_convolve_1x1_s4_fast() 223 conv_params.activation.max = KERNEL1X1_INT4_3_OUT_ACTIVATION_MAX; in kernel1x1_3_arm_convolve_1x1_s4_fast() 299 conv_params.activation.max = KERNEL1X1_STRIDE_X_INT4_OUT_ACTIVATION_MAX; in kernel1x1_stride_x_arm_convolve_1x1_s4() 389 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_INT4_OUT_ACTIVATION_MAX; in kernel1x1_stride_x_y_arm_convolve_1x1_s4() 482 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_1_INT4_OUT_ACTIVATION_MAX; in kernel1x1_stride_x_y_1_arm_convolve_1x1_s4() 551 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_2_INT4_OUT_ACTIVATION_MAX; in kernel1x1_stride_x_y_2_arm_convolve_1x1_s4() 601 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_2_INT4_OUT_ACTIVATION_MAX; in buffer_size_arm_convolve_1x1_s4_fast() 638 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_2_INT4_OUT_ACTIVATION_MAX; in buffer_size_mve_arm_convolve_1x1_s4_fast() 677 conv_params.activation.max = KERNEL1X1_STRIDE_X_Y_2_INT4_OUT_ACTIVATION_MAX; in buffer_size_dsp_arm_convolve_1x1_s4_fast()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_fully_connected_s16/ |
D | test_arm_fully_connected_s16.c | 62 fc_params.activation.max = FULLY_CONNECTED_INT16_OUT_ACTIVATION_MAX; in fully_connected_int16_arm_fully_connected_s16() 127 fc_params.activation.max = FULLY_CONNECTED_INT16_BIG_OUT_ACTIVATION_MAX; in fully_connected_int16_big_arm_fully_connected_s16() 191 fc_params.activation.max = FC_INT16_SLOW_OUT_ACTIVATION_MAX; in fc_int16_slow_arm_fully_connected_s16()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_fully_connected_s8/ |
D | test_arm_fully_connected_s8.c | 63 fc_params.activation.max = FULLY_CONNECTED_OUT_ACTIVATION_MAX; in fully_connected_arm_fully_connected_s8() 131 fc_params.activation.max = FULLY_CONNECTED_W_ZP_OUT_ACTIVATION_MAX; in fully_connected_w_zp_arm_fully_connected_s8() 195 fc_params.activation.max = FULLY_CONNECTED_MVE_0_OUT_ACTIVATION_MAX; in fully_connected_mve_0_arm_fully_connected_s8() 257 fc_params.activation.max = FULLY_CONNECTED_MVE_1_OUT_ACTIVATION_MAX; in fully_connected_mve_1_arm_fully_connected_s8() 319 fc_params.activation.max = FULLY_CONNECTED_NULL_BIAS_0_OUT_ACTIVATION_MAX; in fully_connected_null_bias_0_arm_fully_connected_s8() 392 fc_params.activation.max = FULLY_CONNECTED_OUT_ACTIVATION_OUT_ACTIVATION_MAX; in fully_connected_out_activation_arm_fully_connected_s8()
|