/cmsis-nn-3.6.0-3.5.0/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-3.6.0-3.5.0/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() 164 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-3.6.0-3.5.0/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()
|
/cmsis-nn-3.6.0-3.5.0/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-3.6.0-3.5.0/Source/FullyConnectedFunctions/ |
D | arm_fully_connected_s16.c | 80 fc_params->activation.max); in arm_fully_connected_s16()
|
D | arm_fully_connected_s8.c | 81 fc_params->activation.max, in arm_fully_connected_s8()
|
/cmsis-nn-3.6.0-3.5.0/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()
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_svdf_s8/ |
D | test_arm_svdf_s8.c | 56 svdf_int8_params.input_activation.max = SVDF_INT8_IN_ACTIVATION_MAX; in svdf_int8_arm_svdf_s8() 58 svdf_int8_params.output_activation.max = SVDF_INT8_OUT_ACTIVATION_MAX; in svdf_int8_arm_svdf_s8()
|
/cmsis-nn-3.6.0-3.5.0/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()
|
/cmsis-nn-3.6.0-3.5.0/Source/ConvolutionFunctions/ |
D | arm_convolve_1x1_s8_fast.c | 88 conv_params->activation.max, in arm_convolve_1x1_s8_fast()
|
D | arm_convolve_1x1_s8.c | 98 conv_params->activation.max, in arm_convolve_1x1_s8()
|
/cmsis-nn-3.6.0-3.5.0/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()
|
/cmsis-nn-3.6.0-3.5.0/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()
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_fast_s16/ |
D | test_arm_convolve_fast_s16.c | 67 conv_params.activation.max = INT16XINT8_OUT_ACTIVATION_MAX; in int16xint8_arm_convolve_fast_s16() 161 conv_params.activation.max = REQUANTIZE_S64_OUT_ACTIVATION_MAX; in requantize_s64_arm_convolve_fast_s16() 243 conv_params.activation.max = REQUANTIZE_S64_OUT_ACTIVATION_MAX; in buffer_size_arm_convolve_fast_s16() 280 conv_params.activation.max = REQUANTIZE_S64_OUT_ACTIVATION_MAX; in buffer_size_mve_arm_convolve_fast_s16() 319 conv_params.activation.max = REQUANTIZE_S64_OUT_ACTIVATION_MAX; in buffer_size_dsp_arm_convolve_fast_s16()
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_fully_connected_s8/ |
D | test_arm_fully_connected_s8.c | 62 fc_params.activation.max = FULLY_CONNECTED_OUT_ACTIVATION_MAX; in fully_connected_arm_fully_connected_s8() 121 fc_params.activation.max = FULLY_CONNECTED_MVE_0_OUT_ACTIVATION_MAX; in fully_connected_mve_0_arm_fully_connected_s8() 177 fc_params.activation.max = FULLY_CONNECTED_MVE_1_OUT_ACTIVATION_MAX; in fully_connected_mve_1_arm_fully_connected_s8() 233 fc_params.activation.max = FULLY_CONNECTED_NULL_BIAS_0_OUT_ACTIVATION_MAX; in fully_connected_null_bias_0_arm_fully_connected_s8() 300 fc_params.activation.max = FULLY_CONNECTED_OUT_ACTIVATION_OUT_ACTIVATION_MAX; in fully_connected_out_activation_arm_fully_connected_s8()
|
/cmsis-nn-3.6.0-3.5.0/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-3.6.0-3.5.0/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-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_s16/ |
D | test_arm_convolve_s16.c | 70 conv_params.activation.max = INT16XINT8_OUT_ACTIVATION_MAX; in int16xint8_arm_convolve_s16() 160 conv_params.activation.max = REQUANTIZE_S64_OUT_ACTIVATION_MAX; in requantize_s64_arm_convolve_s16() 249 conv_params.activation.max = INT16XINT8_DILATION_1_OUT_ACTIVATION_MAX; in int16xint8_dilation_1_arm_convolve_s16() 338 conv_params.activation.max = INT16XINT8_DILATION_2_OUT_ACTIVATION_MAX; in int16xint8_dilation_2_arm_convolve_s16() 427 conv_params.activation.max = INT16XINT8_DILATION_3_OUT_ACTIVATION_MAX; in int16xint8_dilation_3_arm_convolve_s16() 505 conv_params.activation.max = INT16XINT8_DILATION_3_OUT_ACTIVATION_MAX; in buffer_size_arm_convolve_s16() 542 conv_params.activation.max = INT16XINT8_DILATION_3_OUT_ACTIVATION_MAX; in buffer_size_mve_arm_convolve_s16() 581 conv_params.activation.max = INT16XINT8_DILATION_3_OUT_ACTIVATION_MAX; in buffer_size_dsp_arm_convolve_s16()
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_ds_cnn_s_s8/ |
D | test_arm_ds_cnn_s_s8.c | 75 dw_conv_params.activation.max = DEPTHWISE_CONV_2D_2_OUT_ACTIVATION_MAX; in ds_cnn_s_s8_get_buffer_size() 140 conv_params.activation.max = 127; in ds_cnn_s_s8_inference() 176 dw_conv_params.activation.max = DEPTHWISE_CONV_2D_2_OUT_ACTIVATION_MAX; in ds_cnn_s_s8_inference() 365 pool_params.activation.max = AVERAGE_POOL_2D_10_OUT_ACTIVATION_MAX; in ds_cnn_s_s8_inference() 385 fc_params.activation.max = FULLY_CONNECTED_12_OUT_ACTIVATION_MAX; in ds_cnn_s_s8_inference()
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_3x3_s8/ |
D | test_arm_depthwise_conv_3x3_s8.c | 69 dw_conv_params.activation.max = DEPTHWISE_KERNEL_3X3_OUT_ACTIVATION_MAX; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 171 dw_conv_params.activation.max = DEPTHWISE_KERNEL_3X3_OUT_ACTIVATION_MAX; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 272 dw_conv_params.activation.max = DEPTHWISE_KERNEL_3X3_NULL_BIAS_OUT_ACTIVATION_MAX; in depthwise_kernel_3x3_null_bias_arm_depthwise_conv_3x3_null_bias_s8() 374 dw_conv_params.activation.max = STRIDE2PAD1_OUT_ACTIVATION_MAX; in stride2pad1_arm_depthwise_conv_3x3_s8() 464 conv_params.activation.max = DEPTHWISE_KERNEL_3X3_NULL_BIAS_OUT_ACTIVATION_MAX; in buffer_size_mve_arm_depthwise_conv_3x3_s8() 505 conv_params.activation.max = DEPTHWISE_KERNEL_3X3_NULL_BIAS_OUT_ACTIVATION_MAX; in buffer_size_dsp_arm_depthwise_conv_3x3_s8()
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s8/ |
D | test_arm_depthwise_conv_s8.c | 69 dw_conv_params.activation.max = DEPTHWISE_2_OUT_ACTIVATION_MAX; in depthwise_2_arm_depthwise_conv_s8() 165 dw_conv_params.activation.max = DEPTHWISE_MULT_BATCHES_OUT_ACTIVATION_MAX; in depthwise_mult_batches_arm_depthwise_conv_s8() 260 dw_conv_params.activation.max = DEPTHWISE_NULL_BIAS_1_OUT_ACTIVATION_MAX; in depthwise_null_bias_1_arm_depthwise_conv_s8() 356 dw_conv_params.activation.max = DEPTHWISE_DILATION_OUT_ACTIVATION_MAX; in depthwise_dilation_arm_depthwise_conv_s8() 434 conv_params.activation.max = DEPTHWISE_DILATION_OUT_ACTIVATION_MAX; in buffer_size_mve_arm_depthwise_conv_s8() 475 conv_params.activation.max = DEPTHWISE_DILATION_OUT_ACTIVATION_MAX; in buffer_size_dsp_arm_depthwise_conv_s8()
|