/cmsis-nn-3.6.0-3.5.0/Source/ConvolutionFunctions/ |
D | arm_convolve_wrapper_s16.c | 52 const cmsis_nn_per_channel_quant_params *quant_params, in arm_convolve_wrapper_s16() argument 68 quant_params, in arm_convolve_wrapper_s16() 82 quant_params, in arm_convolve_wrapper_s16() 95 quant_params, in arm_convolve_wrapper_s16()
|
D | arm_convolve_wrapper_s8.c | 52 const cmsis_nn_per_channel_quant_params *quant_params, in arm_convolve_wrapper_s8() argument 69 quant_params, in arm_convolve_wrapper_s8() 83 quant_params, in arm_convolve_wrapper_s8() 99 quant_params, in arm_convolve_wrapper_s8() 113 quant_params, in arm_convolve_wrapper_s8()
|
D | arm_depthwise_conv_wrapper_s16.c | 52 … const cmsis_nn_per_channel_quant_params *quant_params, in arm_depthwise_conv_wrapper_s16() argument 68 quant_params, in arm_depthwise_conv_wrapper_s16() 82 quant_params, in arm_depthwise_conv_wrapper_s16()
|
D | arm_depthwise_conv_wrapper_s8.c | 51 … const cmsis_nn_per_channel_quant_params *quant_params, in arm_depthwise_conv_wrapper_s8() argument 71 quant_params, in arm_depthwise_conv_wrapper_s8() 86 quant_params, in arm_depthwise_conv_wrapper_s8() 101 quant_params, in arm_depthwise_conv_wrapper_s8()
|
D | arm_convolve_1x1_s8_fast.c | 52 const cmsis_nn_per_channel_quant_params *quant_params, in arm_convolve_1x1_s8_fast() argument 80 quant_params->multiplier, in arm_convolve_1x1_s8_fast() 81 quant_params->shift, in arm_convolve_1x1_s8_fast()
|
D | arm_convolve_1_x_n_s8.c | 52 const cmsis_nn_per_channel_quant_params *quant_params, in arm_convolve_1_x_n_s8() argument 122 quant_params, in arm_convolve_1_x_n_s8() 143 quant_params->multiplier, in arm_convolve_1_x_n_s8() 144 quant_params->shift, in arm_convolve_1_x_n_s8() 176 quant_params, in arm_convolve_1_x_n_s8() 187 quant_params, in arm_convolve_1_x_n_s8()
|
D | arm_convolve_1x1_s8.c | 52 const cmsis_nn_per_channel_quant_params *quant_params, in arm_convolve_1x1_s8() argument 90 quant_params->multiplier, in arm_convolve_1x1_s8() 91 quant_params->shift, in arm_convolve_1x1_s8()
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_ds_cnn_l_s8/ |
D | test_arm_ds_cnn_l_s8.c | 144 cmsis_nn_per_channel_quant_params quant_params; in ds_cnn_l_s8_inference() local 163 quant_params.multiplier = (int32_t *)ds_cnn_l_layer_1_conv_2d_output_mult; in ds_cnn_l_s8_inference() 164 quant_params.shift = (int32_t *)ds_cnn_l_layer_1_conv_2d_output_shift; in ds_cnn_l_s8_inference() 182 &quant_params, in ds_cnn_l_s8_inference() 207 quant_params.multiplier = (int32_t *)ds_cnn_l_layer_2_depthwise_conv_2d_output_mult; in ds_cnn_l_s8_inference() 208 quant_params.shift = (int32_t *)ds_cnn_l_layer_2_depthwise_conv_2d_output_shift; in ds_cnn_l_s8_inference() 222 &quant_params, in ds_cnn_l_s8_inference() 250 quant_params.multiplier = (int32_t *)ds_cnn_l_layer_3_conv_2d_output_mult; in ds_cnn_l_s8_inference() 251 quant_params.shift = (int32_t *)ds_cnn_l_layer_3_conv_2d_output_shift; in ds_cnn_l_s8_inference() 255 &quant_params, in ds_cnn_l_s8_inference() [all …]
|
/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 | 123 cmsis_nn_per_channel_quant_params quant_params; in ds_cnn_s_s8_inference() local 142 quant_params.multiplier = (int32_t *)ds_cnn_s_layer_1_conv_2d_output_mult; in ds_cnn_s_s8_inference() 143 quant_params.shift = (int32_t *)ds_cnn_s_layer_1_conv_2d_output_shift; in ds_cnn_s_s8_inference() 161 &quant_params, in ds_cnn_s_s8_inference() 189 quant_params.multiplier = (int32_t *)ds_cnn_s_layer_2_depthwise_conv_2d_output_mult; in ds_cnn_s_s8_inference() 190 quant_params.shift = (int32_t *)ds_cnn_s_layer_2_depthwise_conv_2d_output_shift; in ds_cnn_s_s8_inference() 204 &quant_params, in ds_cnn_s_s8_inference() 232 quant_params.multiplier = (int32_t *)ds_cnn_s_layer_3_conv_2d_output_mult; in ds_cnn_s_s8_inference() 233 quant_params.shift = (int32_t *)ds_cnn_s_layer_3_conv_2d_output_shift; in ds_cnn_s_s8_inference() 237 &quant_params, in ds_cnn_s_s8_inference() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_fully_connected_s8/ |
D | test_arm_fully_connected_s8.c | 37 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_arm_fully_connected_s8() local 64 quant_params.multiplier = FULLY_CONNECTED_OUTPUT_MULTIPLIER; in fully_connected_arm_fully_connected_s8() 65 quant_params.shift = FULLY_CONNECTED_OUTPUT_SHIFT; in fully_connected_arm_fully_connected_s8() 73 &quant_params, in fully_connected_arm_fully_connected_s8() 99 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_mve_0_arm_fully_connected_s8() local 122 quant_params.multiplier = FULLY_CONNECTED_MVE_0_OUTPUT_MULTIPLIER; in fully_connected_mve_0_arm_fully_connected_s8() 123 quant_params.shift = FULLY_CONNECTED_MVE_0_OUTPUT_SHIFT; in fully_connected_mve_0_arm_fully_connected_s8() 130 &quant_params, in fully_connected_mve_0_arm_fully_connected_s8() 155 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_mve_1_arm_fully_connected_s8() local 178 quant_params.multiplier = FULLY_CONNECTED_MVE_1_OUTPUT_MULTIPLIER; in fully_connected_mve_1_arm_fully_connected_s8() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Source/FullyConnectedFunctions/ |
D | arm_fully_connected_s16.c | 51 const cmsis_nn_per_tensor_quant_params *quant_params, in arm_fully_connected_s16() argument 67 const int32_t reduced_multiplier = REDUCE_MULTIPLIER(quant_params->multiplier); in arm_fully_connected_s16() 76 quant_params->shift, in arm_fully_connected_s16()
|
D | arm_fully_connected_s8.c | 52 const cmsis_nn_per_tensor_quant_params *quant_params, in arm_fully_connected_s8() argument 76 quant_params->multiplier, in arm_fully_connected_s8() 77 quant_params->shift, in arm_fully_connected_s8()
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_fully_connected_s16/ |
D | test_arm_fully_connected_s16.c | 35 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_int16_arm_fully_connected_s16() local 64 quant_params.multiplier = FULLY_CONNECTED_INT16_OUTPUT_MULTIPLIER; in fully_connected_int16_arm_fully_connected_s16() 65 quant_params.shift = FULLY_CONNECTED_INT16_OUTPUT_SHIFT; in fully_connected_int16_arm_fully_connected_s16() 73 &quant_params, in fully_connected_int16_arm_fully_connected_s16() 100 cmsis_nn_per_tensor_quant_params quant_params; in fully_connected_int16_big_arm_fully_connected_s16() local 129 quant_params.multiplier = FULLY_CONNECTED_INT16_BIG_OUTPUT_MULTIPLIER; in fully_connected_int16_big_arm_fully_connected_s16() 130 quant_params.shift = FULLY_CONNECTED_INT16_BIG_OUTPUT_SHIFT; in fully_connected_int16_big_arm_fully_connected_s16() 138 &quant_params, in fully_connected_int16_big_arm_fully_connected_s16() 164 cmsis_nn_per_tensor_quant_params quant_params; in fc_int16_slow_arm_fully_connected_s16() local 193 quant_params.multiplier = FC_INT16_SLOW_OUTPUT_MULTIPLIER; in fc_int16_slow_arm_fully_connected_s16() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_1_x_n_s8/ |
D | test_arm_convolve_1_x_n_s8.c | 38 cmsis_nn_per_channel_quant_params quant_params; in conv_1_x_n_1_arm_convolve_s8() local 71 quant_params.multiplier = (int32_t *)conv_1_x_n_1_output_mult; in conv_1_x_n_1_arm_convolve_s8() 72 quant_params.shift = (int32_t *)conv_1_x_n_1_output_shift; in conv_1_x_n_1_arm_convolve_s8() 80 &quant_params, in conv_1_x_n_1_arm_convolve_s8() 104 &quant_params, in conv_1_x_n_1_arm_convolve_s8() 129 cmsis_nn_per_channel_quant_params quant_params; in conv_1_x_n_2_arm_convolve_s8() local 162 quant_params.multiplier = (int32_t *)conv_1_x_n_2_output_mult; in conv_1_x_n_2_arm_convolve_s8() 163 quant_params.shift = (int32_t *)conv_1_x_n_2_output_shift; in conv_1_x_n_2_arm_convolve_s8() 171 &quant_params, in conv_1_x_n_2_arm_convolve_s8() 194 &quant_params, in conv_1_x_n_2_arm_convolve_s8() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_s8/ |
D | test_arm_convolve_s8.c | 46 cmsis_nn_per_channel_quant_params quant_params; in basic_arm_convolve_s8() local 79 quant_params.multiplier = (int32_t *)basic_output_mult; in basic_arm_convolve_s8() 80 quant_params.shift = (int32_t *)basic_output_shift; in basic_arm_convolve_s8() 88 &quant_params, in basic_arm_convolve_s8() 114 &quant_params, in basic_arm_convolve_s8() 140 cmsis_nn_per_channel_quant_params quant_params; in stride2pad1_arm_convolve_s8() local 173 quant_params.multiplier = (int32_t *)stride2pad1_output_mult; in stride2pad1_arm_convolve_s8() 174 quant_params.shift = (int32_t *)stride2pad1_output_shift; in stride2pad1_arm_convolve_s8() 182 &quant_params, in stride2pad1_arm_convolve_s8() 207 &quant_params, in stride2pad1_arm_convolve_s8() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_fast_s16/ |
D | test_arm_depthwise_conv_fast_s16.c | 41 cmsis_nn_per_channel_quant_params quant_params; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() local 76 quant_params.multiplier = (int32_t *)dw_int16xint8_fast_output_mult; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 77 quant_params.shift = (int32_t *)dw_int16xint8_fast_output_shift; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 84 &quant_params, in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 112 &quant_params, in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 138 cmsis_nn_per_channel_quant_params quant_params; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() local 173 quant_params.multiplier = (int32_t *)dw_int16xint8_fast_spill_output_mult; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() 174 quant_params.shift = (int32_t *)dw_int16xint8_fast_spill_output_shift; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() 181 &quant_params, in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() 208 &quant_params, in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() [all …]
|
/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 | 37 cmsis_nn_per_channel_quant_params quant_params; in kernel1x1_arm_convolve_1x1_s8_fast() local 73 quant_params.multiplier = (int32_t *)kernel1x1_output_mult; in kernel1x1_arm_convolve_1x1_s8_fast() 74 quant_params.shift = (int32_t *)kernel1x1_output_shift; in kernel1x1_arm_convolve_1x1_s8_fast() 82 &quant_params, in kernel1x1_arm_convolve_1x1_s8_fast() 109 cmsis_nn_per_channel_quant_params quant_params; in kernel1x1_stride_x_arm_convolve_1x1_s8() local 147 quant_params.multiplier = (int32_t *)kernel1x1_stride_x_output_mult; in kernel1x1_stride_x_arm_convolve_1x1_s8() 148 quant_params.shift = (int32_t *)kernel1x1_stride_x_output_shift; in kernel1x1_stride_x_arm_convolve_1x1_s8() 156 &quant_params, in kernel1x1_stride_x_arm_convolve_1x1_s8() 176 &quant_params, in kernel1x1_stride_x_arm_convolve_1x1_s8() 197 cmsis_nn_per_channel_quant_params quant_params; in kernel1x1_stride_x_y_arm_convolve_1x1_s8() local [all …]
|
/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 | 36 cmsis_nn_per_channel_quant_params quant_params; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() local 70 quant_params.multiplier = (int32_t *)depthwise_kernel_3x3_output_mult; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 71 quant_params.shift = (int32_t *)depthwise_kernel_3x3_output_shift; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 78 &quant_params, in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 112 &quant_params, in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 139 cmsis_nn_per_channel_quant_params quant_params; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() local 172 quant_params.multiplier = (int32_t *)depthwise_kernel_3x3_output_mult; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 173 quant_params.shift = (int32_t *)depthwise_kernel_3x3_output_shift; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 180 &quant_params, in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 213 &quant_params, in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s8/ |
D | test_arm_depthwise_conv_s8.c | 36 cmsis_nn_per_channel_quant_params quant_params; in depthwise_2_arm_depthwise_conv_s8() local 70 quant_params.multiplier = (int32_t *)depthwise_2_output_mult; in depthwise_2_arm_depthwise_conv_s8() 71 quant_params.shift = (int32_t *)depthwise_2_output_shift; in depthwise_2_arm_depthwise_conv_s8() 78 &quant_params, in depthwise_2_arm_depthwise_conv_s8() 106 &quant_params, in depthwise_2_arm_depthwise_conv_s8() 132 cmsis_nn_per_channel_quant_params quant_params; in depthwise_mult_batches_arm_depthwise_conv_s8() local 166 quant_params.multiplier = (int32_t *)depthwise_mult_batches_output_mult; in depthwise_mult_batches_arm_depthwise_conv_s8() 167 quant_params.shift = (int32_t *)depthwise_mult_batches_output_shift; in depthwise_mult_batches_arm_depthwise_conv_s8() 174 &quant_params, in depthwise_mult_batches_arm_depthwise_conv_s8() 202 &quant_params, in depthwise_mult_batches_arm_depthwise_conv_s8() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_s16/ |
D | test_arm_convolve_s16.c | 38 cmsis_nn_per_channel_quant_params quant_params; in int16xint8_arm_convolve_s16() local 71 quant_params.multiplier = (int32_t *)int16xint8_output_mult; in int16xint8_arm_convolve_s16() 72 quant_params.shift = (int32_t *)int16xint8_output_shift; in int16xint8_arm_convolve_s16() 79 &quant_params, in int16xint8_arm_convolve_s16() 103 &quant_params, in int16xint8_arm_convolve_s16() 128 cmsis_nn_per_channel_quant_params quant_params; in requantize_s64_arm_convolve_s16() local 161 quant_params.multiplier = (int32_t *)requantize_s64_output_mult; in requantize_s64_arm_convolve_s16() 162 quant_params.shift = (int32_t *)requantize_s64_output_shift; in requantize_s64_arm_convolve_s16() 169 &quant_params, in requantize_s64_arm_convolve_s16() 192 &quant_params, in requantize_s64_arm_convolve_s16() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s8_opt/ |
D | test_arm_depthwise_conv_s8_opt.c | 39 cmsis_nn_per_channel_quant_params quant_params; in basic_arm_depthwise_conv_s8_opt() local 72 quant_params.multiplier = (int32_t *)basic_output_mult; in basic_arm_depthwise_conv_s8_opt() 73 quant_params.shift = (int32_t *)basic_output_shift; in basic_arm_depthwise_conv_s8_opt() 87 &quant_params, in basic_arm_depthwise_conv_s8_opt() 115 &quant_params, in basic_arm_depthwise_conv_s8_opt() 141 cmsis_nn_per_channel_quant_params quant_params; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() local 174 quant_params.multiplier = (int32_t *)depthwise_eq_in_out_ch_output_mult; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() 175 quant_params.shift = (int32_t *)depthwise_eq_in_out_ch_output_shift; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() 189 &quant_params, in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() 216 &quant_params, in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Source/NNSupportFunctions/ |
D | arm_nn_mat_mul_core_4x_s8.c | 53 const cmsis_nn_per_channel_quant_params *quant_params, in arm_nn_mat_mul_core_4x_s8() argument 122 res = arm_requantize_mve(res, quant_params->multiplier[i], quant_params->shift[i]); in arm_nn_mat_mul_core_4x_s8() 141 (void)quant_params; in arm_nn_mat_mul_core_4x_s8()
|
D | arm_nn_mat_mul_core_1x_s8.c | 53 const cmsis_nn_per_channel_quant_params *quant_params, in arm_nn_mat_mul_core_1x_s8() argument 59 int32_t *output_mult = quant_params->multiplier; in arm_nn_mat_mul_core_1x_s8() 60 int32_t *output_shift = quant_params->shift; in arm_nn_mat_mul_core_1x_s8() 144 (void)quant_params; in arm_nn_mat_mul_core_1x_s8()
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s16/ |
D | test_arm_depthwise_conv_s16.c | 34 cmsis_nn_per_channel_quant_params quant_params; in dw_int16xint8_arm_depthwise_conv_s16() local 69 quant_params.multiplier = (int32_t *)dw_int16xint8_output_mult; in dw_int16xint8_arm_depthwise_conv_s16() 70 quant_params.shift = (int32_t *)dw_int16xint8_output_shift; in dw_int16xint8_arm_depthwise_conv_s16() 77 &quant_params, in dw_int16xint8_arm_depthwise_conv_s16() 105 &quant_params, in dw_int16xint8_arm_depthwise_conv_s16() 131 cmsis_nn_per_channel_quant_params quant_params; in dw_int16xint8_dilation_arm_depthwise_conv_s16() local 166 quant_params.multiplier = (int32_t *)dw_int16xint8_dilation_output_mult; in dw_int16xint8_dilation_arm_depthwise_conv_s16() 167 quant_params.shift = (int32_t *)dw_int16xint8_dilation_output_shift; in dw_int16xint8_dilation_arm_depthwise_conv_s16() 174 &quant_params, in dw_int16xint8_dilation_arm_depthwise_conv_s16() 202 &quant_params, in dw_int16xint8_dilation_arm_depthwise_conv_s16() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_fast_s16/ |
D | test_arm_convolve_fast_s16.c | 35 cmsis_nn_per_channel_quant_params quant_params; in int16xint8_arm_convolve_fast_s16() local 68 quant_params.multiplier = (int32_t *)int16xint8_output_mult; in int16xint8_arm_convolve_fast_s16() 69 quant_params.shift = (int32_t *)int16xint8_output_shift; in int16xint8_arm_convolve_fast_s16() 76 &quant_params, in int16xint8_arm_convolve_fast_s16() 101 &quant_params, in int16xint8_arm_convolve_fast_s16() 129 cmsis_nn_per_channel_quant_params quant_params; in requantize_s64_arm_convolve_fast_s16() local 162 quant_params.multiplier = (int32_t *)requantize_s64_output_mult; in requantize_s64_arm_convolve_fast_s16() 163 quant_params.shift = (int32_t *)requantize_s64_output_shift; in requantize_s64_arm_convolve_fast_s16() 170 &quant_params, in requantize_s64_arm_convolve_fast_s16() 194 &quant_params, in requantize_s64_arm_convolve_fast_s16()
|