/cmsis-nn-3.6.0-3.5.0/Source/ConvolutionFunctions/ |
D | arm_depthwise_conv_get_buffer_sizes_s8.c | 76 if (input_dims->c == output_dims->c && input_dims->n == 1 && dw_conv_params->dilation.w == 1 && in arm_depthwise_conv_wrapper_s8_get_buffer_size() 77 dw_conv_params->dilation.h == 1) in arm_depthwise_conv_wrapper_s8_get_buffer_size() 99 if (input_dims->c == output_dims->c && input_dims->n == 1 && dw_conv_params->dilation.w == 1 && in arm_depthwise_conv_wrapper_s8_get_buffer_size_dsp() 100 dw_conv_params->dilation.h == 1) in arm_depthwise_conv_wrapper_s8_get_buffer_size_dsp() 120 if (input_dims->c == output_dims->c && input_dims->n == 1 && dw_conv_params->dilation.w == 1 && in arm_depthwise_conv_wrapper_s8_get_buffer_size_mve() 121 dw_conv_params->dilation.h == 1) in arm_depthwise_conv_wrapper_s8_get_buffer_size_mve()
|
D | arm_convolve_get_buffer_sizes_s8.c | 103 (filter_dims->h == 1) && (conv_params->dilation.w == 1 && conv_params->dilation.h == 1)) in arm_convolve_wrapper_s8_get_buffer_size() 114 else if ((input_dims->h == 1) && (conv_params->dilation.w == 1) && (filter_dims->h == 1) && in arm_convolve_wrapper_s8_get_buffer_size() 133 (filter_dims->h == 1) && (conv_params->dilation.w == 1 && conv_params->dilation.h == 1)) in arm_convolve_wrapper_s8_get_buffer_size_mve() 144 else if ((input_dims->h == 1) && (conv_params->dilation.w == 1) && (filter_dims->h == 1) && in arm_convolve_wrapper_s8_get_buffer_size_mve()
|
D | arm_convolve_wrapper_s8.c | 63 (filter_dims->h == 1) && (conv_params->dilation.w == 1 && conv_params->dilation.h == 1)) in arm_convolve_wrapper_s8() 94 else if ((input_dims->h == 1) && conv_params->dilation.w == 1 && (filter_dims->h == 1) && in arm_convolve_wrapper_s8()
|
D | arm_convolve_wrapper_s16.c | 64 (conv_params->dilation.w == 1 && conv_params->dilation.h == 1)) in arm_convolve_wrapper_s16()
|
D | arm_depthwise_conv_wrapper_s8.c | 62 if (1 == dw_conv_params->ch_mult && input_dims->n == 1 && dw_conv_params->dilation.w == 1 && in arm_depthwise_conv_wrapper_s8() 63 dw_conv_params->dilation.h == 1) in arm_depthwise_conv_wrapper_s8()
|
D | arm_convolve_get_buffer_sizes_s16.c | 99 (conv_params->dilation.w == 1 && conv_params->dilation.h == 1)) in arm_convolve_wrapper_s16_get_buffer_size_dsp()
|
D | arm_convolve_s16.c | 80 const int32_t dilation_x = conv_params->dilation.w; in arm_convolve_s16() 81 const int32_t dilation_y = conv_params->dilation.h; in arm_convolve_s16()
|
D | arm_depthwise_conv_s8.c | 285 const uint16_t dilation_x = dw_conv_params->dilation.w; in arm_depthwise_conv_s8() 286 const uint16_t dilation_y = dw_conv_params->dilation.h; in arm_depthwise_conv_s8() 291 if (dw_conv_params->ch_mult % 4 == 0 && input_dims->n == 1 && dw_conv_params->dilation.w == 1 && in arm_depthwise_conv_s8() 292 dw_conv_params->dilation.h == 1) in arm_depthwise_conv_s8()
|
D | arm_convolve_s8.c | 84 const int32_t dilation_x = conv_params->dilation.w; in arm_convolve_s8() 85 const int32_t dilation_y = conv_params->dilation.h; in arm_convolve_s8()
|
D | arm_depthwise_conv_s16.c | 256 const uint16_t dilation_x = dw_conv_params->dilation.w; in arm_depthwise_conv_s16() 257 const uint16_t dilation_y = dw_conv_params->dilation.h; in arm_depthwise_conv_s16()
|
D | arm_convolve_1_x_n_s8.c | 65 …if ((input_dims->h != 1) || conv_params->dilation.w != 1 || (buffer_size != 0 && ctx->buf == NULL)… in arm_convolve_1_x_n_s8()
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_fast_s16/ |
D | test_arm_convolve_fast_s16.c | 61 conv_params.dilation.w = INT16XINT8_DILATION_X; in int16xint8_arm_convolve_fast_s16() 62 conv_params.dilation.h = INT16XINT8_DILATION_X; in int16xint8_arm_convolve_fast_s16() 155 conv_params.dilation.w = REQUANTIZE_S64_DILATION_X; in requantize_s64_arm_convolve_fast_s16() 156 conv_params.dilation.h = REQUANTIZE_S64_DILATION_Y; in requantize_s64_arm_convolve_fast_s16() 237 conv_params.dilation.w = REQUANTIZE_S64_DILATION_X; in buffer_size_arm_convolve_fast_s16() 238 conv_params.dilation.h = REQUANTIZE_S64_DILATION_Y; in buffer_size_arm_convolve_fast_s16() 274 conv_params.dilation.w = REQUANTIZE_S64_DILATION_X; in buffer_size_mve_arm_convolve_fast_s16() 275 conv_params.dilation.h = REQUANTIZE_S64_DILATION_Y; in buffer_size_mve_arm_convolve_fast_s16() 313 conv_params.dilation.w = REQUANTIZE_S64_DILATION_X; in buffer_size_dsp_arm_convolve_fast_s16() 314 conv_params.dilation.h = REQUANTIZE_S64_DILATION_Y; in buffer_size_dsp_arm_convolve_fast_s16()
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s16/ |
D | test_arm_depthwise_conv_s16.c | 60 dw_conv_params.dilation.w = DW_INT16XINT8_DILATION_X; in dw_int16xint8_arm_depthwise_conv_s16() 61 dw_conv_params.dilation.h = DW_INT16XINT8_DILATION_Y; in dw_int16xint8_arm_depthwise_conv_s16() 157 dw_conv_params.dilation.w = DW_INT16XINT8_DILATION_DILATION_X; in dw_int16xint8_dilation_arm_depthwise_conv_s16() 158 dw_conv_params.dilation.h = DW_INT16XINT8_DILATION_DILATION_Y; in dw_int16xint8_dilation_arm_depthwise_conv_s16() 254 dw_conv_params.dilation.w = DW_INT16XINT8_MULT4_DILATION_X; in dw_int16xint8_mult4_arm_depthwise_conv_s16() 255 dw_conv_params.dilation.h = DW_INT16XINT8_MULT4_DILATION_Y; in dw_int16xint8_mult4_arm_depthwise_conv_s16() 340 dw_conv_params.dilation.w = DW_INT16XINT8_MULT4_DILATION_X; in arm_depthwise_conv_wrapper_s16_buffer() 341 dw_conv_params.dilation.h = DW_INT16XINT8_MULT4_DILATION_Y; in arm_depthwise_conv_wrapper_s16_buffer() 386 conv_params.dilation.w = DW_INT16XINT8_MULT4_DILATION_X; in buffer_size_mve_arm_depthwise_conv_s16() 387 conv_params.dilation.h = DW_INT16XINT8_MULT4_DILATION_Y; in buffer_size_mve_arm_depthwise_conv_s16() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_s16/ |
D | test_arm_convolve_s16.c | 64 conv_params.dilation.w = INT16XINT8_DILATION_X; in int16xint8_arm_convolve_s16() 65 conv_params.dilation.h = INT16XINT8_DILATION_Y; in int16xint8_arm_convolve_s16() 154 conv_params.dilation.w = REQUANTIZE_S64_STRIDE_X; in requantize_s64_arm_convolve_s16() 155 conv_params.dilation.h = REQUANTIZE_S64_STRIDE_Y; in requantize_s64_arm_convolve_s16() 243 conv_params.dilation.w = INT16XINT8_DILATION_1_DILATION_X; in int16xint8_dilation_1_arm_convolve_s16() 244 conv_params.dilation.h = INT16XINT8_DILATION_1_DILATION_Y; in int16xint8_dilation_1_arm_convolve_s16() 332 conv_params.dilation.w = INT16XINT8_DILATION_2_DILATION_X; in int16xint8_dilation_2_arm_convolve_s16() 333 conv_params.dilation.h = INT16XINT8_DILATION_2_DILATION_Y; in int16xint8_dilation_2_arm_convolve_s16() 421 conv_params.dilation.w = INT16XINT8_DILATION_3_DILATION_X; in int16xint8_dilation_3_arm_convolve_s16() 422 conv_params.dilation.h = INT16XINT8_DILATION_3_DILATION_Y; in int16xint8_dilation_3_arm_convolve_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 | 64 conv_params.dilation.w = CONV_1_X_N_1_DILATION_X; in conv_1_x_n_1_arm_convolve_s8() 65 conv_params.dilation.h = CONV_1_X_N_1_DILATION_Y; in conv_1_x_n_1_arm_convolve_s8() 155 conv_params.dilation.w = CONV_1_X_N_2_DILATION_X; in conv_1_x_n_2_arm_convolve_s8() 156 conv_params.dilation.h = CONV_1_X_N_2_DILATION_Y; in conv_1_x_n_2_arm_convolve_s8() 244 conv_params.dilation.w = CONV_1_X_N_3_DILATION_X; in conv_1_x_n_3_arm_convolve_s8() 245 conv_params.dilation.h = CONV_1_X_N_3_DILATION_Y; in conv_1_x_n_3_arm_convolve_s8() 335 conv_params.dilation.w = CONV_1_X_N_4_DILATION_X; in conv_1_x_n_4_arm_convolve_s8() 336 conv_params.dilation.h = CONV_1_X_N_4_DILATION_Y; in conv_1_x_n_4_arm_convolve_s8() 426 conv_params.dilation.w = CONV_1_X_N_5_DILATION_X; in conv_1_x_n_5_arm_convolve_s8() 427 conv_params.dilation.h = CONV_1_X_N_5_DILATION_Y; in conv_1_x_n_5_arm_convolve_s8() [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 | 61 dw_conv_params.dilation.w = DEPTHWISE_KERNEL_3X3_DILATION_X; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 62 dw_conv_params.dilation.h = DEPTHWISE_KERNEL_3X3_DILATION_Y; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 163 dw_conv_params.dilation.w = DEPTHWISE_KERNEL_3X3_DILATION_X; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 164 dw_conv_params.dilation.h = DEPTHWISE_KERNEL_3X3_DILATION_Y; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 264 dw_conv_params.dilation.w = DEPTHWISE_KERNEL_3X3_NULL_BIAS_DILATION_X; in depthwise_kernel_3x3_null_bias_arm_depthwise_conv_3x3_null_bias_s8() 265 dw_conv_params.dilation.h = DEPTHWISE_KERNEL_3X3_NULL_BIAS_DILATION_Y; in depthwise_kernel_3x3_null_bias_arm_depthwise_conv_3x3_null_bias_s8() 366 dw_conv_params.dilation.w = STRIDE2PAD1_DILATION_X; in stride2pad1_arm_depthwise_conv_3x3_s8() 367 dw_conv_params.dilation.h = STRIDE2PAD1_DILATION_Y; in stride2pad1_arm_depthwise_conv_3x3_s8() 458 conv_params.dilation.w = DEPTHWISE_KERNEL_3X3_NULL_BIAS_DILATION_X; in buffer_size_mve_arm_depthwise_conv_3x3_s8() 459 conv_params.dilation.h = DEPTHWISE_KERNEL_3X3_NULL_BIAS_DILATION_Y; in buffer_size_mve_arm_depthwise_conv_3x3_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 | 61 dw_conv_params.dilation.w = DEPTHWISE_2_DILATION_X; in depthwise_2_arm_depthwise_conv_s8() 62 dw_conv_params.dilation.h = DEPTHWISE_2_DILATION_Y; in depthwise_2_arm_depthwise_conv_s8() 157 dw_conv_params.dilation.w = DEPTHWISE_MULT_BATCHES_DILATION_X; in depthwise_mult_batches_arm_depthwise_conv_s8() 158 dw_conv_params.dilation.h = DEPTHWISE_MULT_BATCHES_DILATION_Y; in depthwise_mult_batches_arm_depthwise_conv_s8() 252 dw_conv_params.dilation.w = DEPTHWISE_NULL_BIAS_1_DILATION_X; in depthwise_null_bias_1_arm_depthwise_conv_s8() 253 dw_conv_params.dilation.h = DEPTHWISE_NULL_BIAS_1_DILATION_Y; in depthwise_null_bias_1_arm_depthwise_conv_s8() 348 dw_conv_params.dilation.w = DEPTHWISE_DILATION_DILATION_X; in depthwise_dilation_arm_depthwise_conv_s8() 349 dw_conv_params.dilation.h = DEPTHWISE_DILATION_DILATION_Y; in depthwise_dilation_arm_depthwise_conv_s8() 428 conv_params.dilation.w = DEPTHWISE_DILATION_DILATION_X; in buffer_size_mve_arm_depthwise_conv_s8() 429 conv_params.dilation.h = DEPTHWISE_DILATION_DILATION_Y; in buffer_size_mve_arm_depthwise_conv_s8() [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 | 63 dw_conv_params.dilation.w = BASIC_DILATION_X; in basic_arm_depthwise_conv_s8_opt() 64 dw_conv_params.dilation.h = BASIC_DILATION_Y; in basic_arm_depthwise_conv_s8_opt() 165 dw_conv_params.dilation.w = DEPTHWISE_EQ_IN_OUT_CH_DILATION_X; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() 166 dw_conv_params.dilation.h = DEPTHWISE_EQ_IN_OUT_CH_DILATION_Y; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() 266 dw_conv_params.dilation.w = DEPTHWISE_SUB_BLOCK_DILATION_X; in depthwise_sub_block_arm_depthwise_conv_s8_opt() 267 dw_conv_params.dilation.h = DEPTHWISE_SUB_BLOCK_DILATION_Y; in depthwise_sub_block_arm_depthwise_conv_s8_opt() 368 dw_conv_params.dilation.w = DEPTHWISE_OUT_ACTIVATION_DILATION_X; in depthwise_out_activation_arm_depthwise_conv_s8_opt() 369 dw_conv_params.dilation.h = DEPTHWISE_OUT_ACTIVATION_DILATION_Y; in depthwise_out_activation_arm_depthwise_conv_s8_opt() 469 dw_conv_params.dilation.w = DEPTHWISE_NULL_BIAS_0_DILATION_X; in depthwise_null_bias_0_arm_depthwise_conv_s8_opt() 470 dw_conv_params.dilation.h = DEPTHWISE_NULL_BIAS_0_DILATION_Y; in depthwise_null_bias_0_arm_depthwise_conv_s8_opt() [all …]
|
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/TestCases/test_arm_convolve_s8/ |
D | test_arm_convolve_s8.c | 72 conv_params.dilation.w = BASIC_DILATION_X; in basic_arm_convolve_s8() 73 conv_params.dilation.h = BASIC_DILATION_Y; in basic_arm_convolve_s8() 166 conv_params.dilation.w = STRIDE2PAD1_DILATION_X; in stride2pad1_arm_convolve_s8() 167 conv_params.dilation.h = STRIDE2PAD1_DILATION_Y; in stride2pad1_arm_convolve_s8() 259 conv_params.dilation.w = CONV_2_DILATION_X; in conv_2_arm_convolve_s8() 260 conv_params.dilation.h = CONV_2_DILATION_Y; in conv_2_arm_convolve_s8() 352 conv_params.dilation.w = CONV_3_DILATION_X; in conv_3_arm_convolve_s8() 353 conv_params.dilation.h = CONV_3_DILATION_Y; in conv_3_arm_convolve_s8() 445 conv_params.dilation.w = CONV_4_DILATION_X; in conv_4_arm_convolve_s8() 446 conv_params.dilation.h = CONV_4_DILATION_Y; in conv_4_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 | 67 dw_conv_params.dilation.w = DW_INT16XINT8_FAST_DILATION_X; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 68 dw_conv_params.dilation.h = DW_INT16XINT8_FAST_DILATION_Y; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 164 dw_conv_params.dilation.w = DW_INT16XINT8_FAST_SPILL_DILATION_X; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() 165 dw_conv_params.dilation.h = DW_INT16XINT8_FAST_SPILL_DILATION_Y; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() 260 dw_conv_params.dilation.w = DW_INT16XINT8_FAST_STRIDE_DILATION_X; in dw_int16xint8_fast_stride_arm_depthwise_conv_fast_s16() 261 dw_conv_params.dilation.h = DW_INT16XINT8_FAST_STRIDE_DILATION_Y; in dw_int16xint8_fast_stride_arm_depthwise_conv_fast_s16() 357 dw_conv_params.dilation.w = DW_INT16XINT8_FAST_NULL_BIAS_DILATION_X; in dw_int16xint8_fast_null_bias_arm_depthwise_conv_fast_s16() 358 dw_conv_params.dilation.h = DW_INT16XINT8_FAST_NULL_BIAS_DILATION_Y; in dw_int16xint8_fast_null_bias_arm_depthwise_conv_fast_s16() 454 dw_conv_params.dilation.w = DW_INT16XINT8_FAST_STRIDE_NULL_BIAS_DILATION_X; in dw_int16xint8_fast_stride_null_bias_arm_depthwise_conv_fast_s16() 455 dw_conv_params.dilation.h = DW_INT16XINT8_FAST_STRIDE_NULL_BIAS_DILATION_Y; in dw_int16xint8_fast_stride_null_bias_arm_depthwise_conv_fast_s16() [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 | 52 conv_params.dilation.h = CONV_2D_1_DILATION_H; in ds_cnn_s_s8_get_buffer_size() 53 conv_params.dilation.w = CONV_2D_1_DILATION_W; in ds_cnn_s_s8_get_buffer_size() 77 dw_conv_params.dilation.h = DEPTHWISE_CONV_2D_2_DILATION_H; in ds_cnn_s_s8_get_buffer_size() 78 dw_conv_params.dilation.w = DEPTHWISE_CONV_2D_2_DILATION_W; in ds_cnn_s_s8_get_buffer_size() 134 conv_params.dilation.h = CONV_2D_1_DILATION_H; in ds_cnn_s_s8_inference() 135 conv_params.dilation.w = CONV_2D_1_DILATION_W; in ds_cnn_s_s8_inference() 178 dw_conv_params.dilation.h = DEPTHWISE_CONV_2D_2_DILATION_H; in ds_cnn_s_s8_inference() 179 dw_conv_params.dilation.w = DEPTHWISE_CONV_2D_2_DILATION_W; in ds_cnn_s_s8_inference()
|
/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 | 51 conv_params.dilation.h = CONV_2D_1_DILATION_H; in ds_cnn_l_s8_get_buffer_size() 52 conv_params.dilation.w = CONV_2D_1_DILATION_W; in ds_cnn_l_s8_get_buffer_size() 76 dw_conv_params.dilation.h = DEPTHWISE_CONV_2D_2_DILATION_H; in ds_cnn_l_s8_get_buffer_size() 77 dw_conv_params.dilation.w = DEPTHWISE_CONV_2D_2_DILATION_W; in ds_cnn_l_s8_get_buffer_size() 155 conv_params.dilation.h = CONV_2D_1_DILATION_H; in ds_cnn_l_s8_inference() 156 conv_params.dilation.w = CONV_2D_1_DILATION_W; in ds_cnn_l_s8_inference() 198 dw_conv_params.dilation.h = DEPTHWISE_CONV_2D_2_DILATION_H; in ds_cnn_l_s8_inference() 199 dw_conv_params.dilation.w = DEPTHWISE_CONV_2D_2_DILATION_W; in ds_cnn_l_s8_inference()
|
/cmsis-nn-3.6.0-3.5.0/Include/ |
D | arm_nn_types.h | 113 cmsis_nn_tile dilation; member 125 cmsis_nn_tile dilation; member
|
D | arm_nnsupportfunctions.h | 44 …(dw_conv_params->ch_mult == 1 && dw_conv_params->dilation.w == 1 && dw_conv_params->dilation.h == …
|
/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 | 436 conv_params.dilation.w = KERNEL1X1_STRIDE_X_Y_2_DILATION_X; in buffer_size_arm_convolve_1x1_s8_fast() 437 conv_params.dilation.h = KERNEL1X1_STRIDE_X_Y_2_DILATION_Y; in buffer_size_arm_convolve_1x1_s8_fast() 473 conv_params.dilation.w = KERNEL1X1_STRIDE_X_Y_2_DILATION_X; in buffer_size_mve_arm_convolve_1x1_s8_fast() 474 conv_params.dilation.h = KERNEL1X1_STRIDE_X_Y_2_DILATION_Y; in buffer_size_mve_arm_convolve_1x1_s8_fast() 512 conv_params.dilation.w = KERNEL1X1_STRIDE_X_Y_2_DILATION_X; in buffer_size_dsp_arm_convolve_1x1_s8_fast() 513 conv_params.dilation.h = KERNEL1X1_STRIDE_X_Y_2_DILATION_Y; in buffer_size_dsp_arm_convolve_1x1_s8_fast()
|