/cmsis-nn-3.7.0/Source/ConvolutionFunctions/ |
D | arm_convolve_get_buffer_sizes_s8.c | 47 int32_t col_length = input_dims->c * filter_dims->w * filter_dims->h; in arm_convolve_s8_get_buffer_size_mve() 60 const int32_t input_x = input_dims->w; in arm_convolve_1_x_n_s8_get_buffer_size_mve() 61 const int32_t pad_x = conv_params->padding.w; in arm_convolve_1_x_n_s8_get_buffer_size_mve() 62 const int32_t kernel_x = filter_dims->w; in arm_convolve_1_x_n_s8_get_buffer_size_mve() 63 const int32_t output_x = output_dims->w; in arm_convolve_1_x_n_s8_get_buffer_size_mve() 64 const int32_t stride_x = conv_params->stride.w; in arm_convolve_1_x_n_s8_get_buffer_size_mve() 91 const int32_t rhs_cols = filter_dims->w * filter_dims->h * input_dims->c; in arm_convolve_s8_get_buffer_size() 135 if ((conv_params->padding.w == 0) && (conv_params->padding.h == 0) && (filter_dims->w == 1) && in arm_convolve_wrapper_s8_get_buffer_size() 136 (filter_dims->h == 1) && (conv_params->dilation.w == 1 && conv_params->dilation.h == 1)) in arm_convolve_wrapper_s8_get_buffer_size() 138 if ((conv_params->stride.w == 1) && (conv_params->stride.h == 1)) in arm_convolve_wrapper_s8_get_buffer_size() [all …]
|
D | arm_convolve_get_buffer_sizes_s4.c | 47 int32_t col_length = input_dims->c * filter_dims->w * filter_dims->h; in arm_convolve_s4_get_buffer_size_mve() 60 const int32_t input_x = input_dims->w; in arm_convolve_1_x_n_s4_get_buffer_size_mve() 61 const int32_t pad_x = conv_params->padding.w; in arm_convolve_1_x_n_s4_get_buffer_size_mve() 62 const int32_t kernel_x = filter_dims->w; in arm_convolve_1_x_n_s4_get_buffer_size_mve() 63 const int32_t output_x = output_dims->w; in arm_convolve_1_x_n_s4_get_buffer_size_mve() 64 const int32_t stride_x = conv_params->stride.w; in arm_convolve_1_x_n_s4_get_buffer_size_mve() 82 const int32_t rhs_cols = filter_dims->w * filter_dims->h * input_dims->c; in arm_convolve_s4_get_buffer_size() 123 if ((conv_params->padding.w == 0) && (conv_params->padding.h == 0) && (filter_dims->w == 1) && in arm_convolve_wrapper_s4_get_buffer_size() 124 (filter_dims->h == 1) && (conv_params->dilation.w == 1 && conv_params->dilation.h == 1)) in arm_convolve_wrapper_s4_get_buffer_size() 126 if ((conv_params->stride.w == 1) && (conv_params->stride.h == 1)) in arm_convolve_wrapper_s4_get_buffer_size() [all …]
|
D | arm_depthwise_conv_get_buffer_sizes_s8.c | 46 return (4 * CH_IN_BLOCK_MVE * filter_dims->w * filter_dims->h) * (int32_t)sizeof(int8_t); in arm_depthwise_conv_s8_opt_get_buffer_size_mve() 51 return (input_dims->c * filter_dims->w * filter_dims->h) * sizeof(int16_t); in arm_depthwise_conv_s8_opt_get_buffer_size_dsp() 74 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() 78 if (filter_dims->w == 3 && filter_dims->h == 3 && dw_conv_params->padding.h <= 1 && in arm_depthwise_conv_wrapper_s8_get_buffer_size() 79 dw_conv_params->padding.w <= 1) in arm_depthwise_conv_wrapper_s8_get_buffer_size() 97 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 if (filter_dims->w == 3 && filter_dims->h == 3 && dw_conv_params->padding.h <= 1 && in arm_depthwise_conv_wrapper_s8_get_buffer_size_dsp() 101 dw_conv_params->padding.w <= 1) in arm_depthwise_conv_wrapper_s8_get_buffer_size_dsp() 118 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()
|
D | arm_convolve_wrapper_s4.c | 62 if ((conv_params->padding.w == 0) && (conv_params->padding.h == 0) && (filter_dims->w == 1) && in arm_convolve_wrapper_s4() 63 (filter_dims->h == 1) && (conv_params->dilation.w == 1 && conv_params->dilation.h == 1)) in arm_convolve_wrapper_s4() 65 if ((conv_params->stride.w == 1) && (conv_params->stride.h == 1)) in arm_convolve_wrapper_s4() 94 else if ((input_dims->h == 1) && conv_params->dilation.w == 1 && (filter_dims->h == 1) && in arm_convolve_wrapper_s4() 95 … ((conv_params->stride.w * input_dims->c) % 4 == 0) && (input_dims->c == filter_dims->c)) in arm_convolve_wrapper_s4()
|
D | arm_convolve_wrapper_s8.c | 62 if ((conv_params->padding.w == 0) && (conv_params->padding.h == 0) && (filter_dims->w == 1) && in arm_convolve_wrapper_s8() 63 (filter_dims->h == 1) && (conv_params->dilation.w == 1 && conv_params->dilation.h == 1) && in arm_convolve_wrapper_s8() 66 if ((conv_params->stride.w == 1) && (conv_params->stride.h == 1)) in arm_convolve_wrapper_s8() 95 else if ((input_dims->h == 1) && conv_params->dilation.w == 1 && (filter_dims->h == 1) && in arm_convolve_wrapper_s8() 96 … ((conv_params->stride.w * input_dims->c) % 4 == 0) && (input_dims->c == filter_dims->c)) in arm_convolve_wrapper_s8()
|
D | arm_convolve_1x1_s4.c | 65 if (conv_params->padding.w != 0 || conv_params->padding.h != 0) in arm_convolve_1x1_s4() 70 const int32_t lhs_rows = output_dims->w; in arm_convolve_1x1_s4() 73 const int32_t stride_w = conv_params->stride.w; in arm_convolve_1x1_s4() 74 const int32_t input_inc = input_dims->w * conv_params->stride.h * rhs_cols; in arm_convolve_1x1_s4() 75 const int32_t output_inc = output_dims->w * rhs_rows; in arm_convolve_1x1_s4() 82 input_data = input_data_ref + (i_batch * rhs_cols * input_dims->w * input_dims->h); in arm_convolve_1x1_s4()
|
D | arm_convolve_1x1_s8.c | 65 if (conv_params->padding.w != 0 || conv_params->padding.h != 0) in arm_convolve_1x1_s8() 70 const int32_t lhs_rows = output_dims->w; in arm_convolve_1x1_s8() 73 const int32_t stride_w = conv_params->stride.w; in arm_convolve_1x1_s8() 74 const int32_t input_inc = input_dims->w * conv_params->stride.h * rhs_cols; in arm_convolve_1x1_s8() 75 const int32_t output_inc = output_dims->w * rhs_rows; in arm_convolve_1x1_s8() 82 input_data = input_data_ref + (i_batch * rhs_cols * input_dims->w * input_dims->h); in arm_convolve_1x1_s8()
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_max_pool_s8/ |
D | test_arm_max_pool_s8.c | 48 input_dims.w = MAXPOOLING_INPUT_W; in maxpooling_arm_max_pool_s8() 51 filter_dims.w = MAXPOOLING_FILTER_X; in maxpooling_arm_max_pool_s8() 53 output_dims.w = MAXPOOLING_OUTPUT_W; in maxpooling_arm_max_pool_s8() 57 pool_params.padding.w = MAXPOOLING_PAD_X; in maxpooling_arm_max_pool_s8() 59 pool_params.stride.w = MAXPOOLING_STRIDE_X; in maxpooling_arm_max_pool_s8() 89 input_dims.w = MAXPOOLING_1_INPUT_W; in maxpooling_1_arm_max_pool_s8() 92 filter_dims.w = MAXPOOLING_1_FILTER_X; in maxpooling_1_arm_max_pool_s8() 94 output_dims.w = MAXPOOLING_1_OUTPUT_W; in maxpooling_1_arm_max_pool_s8() 98 pool_params.padding.w = MAXPOOLING_1_PAD_X; in maxpooling_1_arm_max_pool_s8() 100 pool_params.stride.w = MAXPOOLING_1_STRIDE_X; in maxpooling_1_arm_max_pool_s8() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_max_pool_s16/ |
D | test_arm_max_pool_s16.c | 43 input_dims.w = MAXPOOL_INT16_INPUT_W; in maxpool_int16_arm_max_pool_s16() 46 filter_dims.w = MAXPOOL_INT16_FILTER_X; in maxpool_int16_arm_max_pool_s16() 48 output_dims.w = MAXPOOL_INT16_OUTPUT_W; in maxpool_int16_arm_max_pool_s16() 52 pool_params.padding.w = MAXPOOL_INT16_PAD_X; in maxpool_int16_arm_max_pool_s16() 54 pool_params.stride.w = MAXPOOL_INT16_STRIDE_X; in maxpool_int16_arm_max_pool_s16() 84 input_dims.w = MAXPOOL_INT16_1_INPUT_W; in maxpool_int16_1_arm_max_pool_s16() 87 filter_dims.w = MAXPOOL_INT16_1_FILTER_X; in maxpool_int16_1_arm_max_pool_s16() 89 output_dims.w = MAXPOOL_INT16_1_OUTPUT_W; in maxpool_int16_1_arm_max_pool_s16() 93 pool_params.padding.w = MAXPOOL_INT16_1_PAD_X; in maxpool_int16_1_arm_max_pool_s16() 95 pool_params.stride.w = MAXPOOL_INT16_1_STRIDE_X; in maxpool_int16_1_arm_max_pool_s16() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_convolve_1x1_s4_fast/ |
D | test_arm_convolve_1x1_s4_fast.c | 50 input_dims.w = KERNEL1X1_INT4_INPUT_W; in kernel1x1_arm_convolve_1x1_s4_fast() 54 filter_dims.w = KERNEL1X1_INT4_FILTER_X; in kernel1x1_arm_convolve_1x1_s4_fast() 58 output_dims.w = KERNEL1X1_INT4_OUTPUT_W; in kernel1x1_arm_convolve_1x1_s4_fast() 62 conv_params.padding.w = KERNEL1X1_INT4_PAD_X; in kernel1x1_arm_convolve_1x1_s4_fast() 64 conv_params.stride.w = KERNEL1X1_INT4_STRIDE_X; in kernel1x1_arm_convolve_1x1_s4_fast() 65 conv_params.dilation.w = KERNEL1X1_INT4_DILATION_X; in kernel1x1_arm_convolve_1x1_s4_fast() 70 bias_dims.w = 1; in kernel1x1_arm_convolve_1x1_s4_fast() 124 input_dims.w = KERNEL1X1_INT4_2_INPUT_W; in kernel1x1_2_arm_convolve_1x1_s4_fast() 128 filter_dims.w = KERNEL1X1_INT4_2_FILTER_X; in kernel1x1_2_arm_convolve_1x1_s4_fast() 132 output_dims.w = KERNEL1X1_INT4_2_OUTPUT_W; in kernel1x1_2_arm_convolve_1x1_s4_fast() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_ds_cnn_s_s8/ |
D | test_arm_ds_cnn_s_s8.c | 50 conv_params.padding.w = CONV_2D_1_PAD_W; in ds_cnn_s_s8_get_buffer_size() 52 conv_params.stride.w = CONV_2D_1_STRIDE_W; in ds_cnn_s_s8_get_buffer_size() 54 conv_params.dilation.w = CONV_2D_1_DILATION_W; in ds_cnn_s_s8_get_buffer_size() 58 input_dims.w = CONV_2D_1_INPUT_W; in ds_cnn_s_s8_get_buffer_size() 62 filter_dims.w = CONV_2D_1_FILTER_W; in ds_cnn_s_s8_get_buffer_size() 67 output_dims.w = CONV_2D_1_OUTPUT_W; in ds_cnn_s_s8_get_buffer_size() 80 dw_conv_params.dilation.w = DEPTHWISE_CONV_2D_2_DILATION_W; in ds_cnn_s_s8_get_buffer_size() 84 dw_conv_params.padding.w = DEPTHWISE_CONV_2D_2_PAD_W; in ds_cnn_s_s8_get_buffer_size() 86 dw_conv_params.stride.w = DEPTHWISE_CONV_2D_2_STRIDE_W; in ds_cnn_s_s8_get_buffer_size() 89 filter_dims.w = DEPTHWISE_CONV_2D_2_FILTER_W; in ds_cnn_s_s8_get_buffer_size() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_ds_cnn_l_s8/ |
D | test_arm_ds_cnn_l_s8.c | 48 conv_params.padding.w = CONV_2D_1_PAD_W; in ds_cnn_l_s8_get_buffer_size() 50 conv_params.stride.w = CONV_2D_1_STRIDE_W; 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() 56 input_dims.w = CONV_2D_1_INPUT_W; in ds_cnn_l_s8_get_buffer_size() 60 filter_dims.w = CONV_2D_1_FILTER_W; in ds_cnn_l_s8_get_buffer_size() 65 output_dims.w = CONV_2D_1_OUTPUT_W; in ds_cnn_l_s8_get_buffer_size() 78 dw_conv_params.dilation.w = DEPTHWISE_CONV_2D_2_DILATION_W; in ds_cnn_l_s8_get_buffer_size() 82 dw_conv_params.padding.w = DEPTHWISE_CONV_2D_2_PAD_W; in ds_cnn_l_s8_get_buffer_size() 84 dw_conv_params.stride.w = DEPTHWISE_CONV_2D_2_STRIDE_W; in ds_cnn_l_s8_get_buffer_size() 87 filter_dims.w = DEPTHWISE_CONV_2D_2_FILTER_W; in ds_cnn_l_s8_get_buffer_size() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_convolve_1x1_s8_fast/ |
D | test_arm_convolve_1x1_s8_fast.c | 48 input_dims.w = KERNEL1X1_INPUT_W; in kernel1x1_arm_convolve_1x1_s8_fast() 52 filter_dims.w = KERNEL1X1_FILTER_X; in kernel1x1_arm_convolve_1x1_s8_fast() 56 output_dims.w = KERNEL1X1_OUTPUT_W; in kernel1x1_arm_convolve_1x1_s8_fast() 60 conv_params.padding.w = KERNEL1X1_PAD_X; in kernel1x1_arm_convolve_1x1_s8_fast() 62 conv_params.stride.w = KERNEL1X1_STRIDE_X; in kernel1x1_arm_convolve_1x1_s8_fast() 66 bias_dims.w = 1; in kernel1x1_arm_convolve_1x1_s8_fast() 120 input_dims.w = KERNEL1X1_STRIDE_X_INPUT_W; in kernel1x1_stride_x_arm_convolve_1x1_s8() 125 filter_dims.w = KERNEL1X1_STRIDE_X_FILTER_X; in kernel1x1_stride_x_arm_convolve_1x1_s8() 130 output_dims.w = KERNEL1X1_STRIDE_X_OUTPUT_W; in kernel1x1_stride_x_arm_convolve_1x1_s8() 135 bias_dims.w = 1; in kernel1x1_stride_x_arm_convolve_1x1_s8() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_avgpool_s8/ |
D | test_arm_avgpool_s8.c | 44 input_dims.w = AVGPOOLING_INPUT_W; in avgpooling_arm_avgpool_s8() 47 filter_dims.w = AVGPOOLING_FILTER_X; in avgpooling_arm_avgpool_s8() 49 output_dims.w = AVGPOOLING_OUTPUT_W; in avgpooling_arm_avgpool_s8() 53 pool_params.padding.w = AVGPOOLING_PAD_X; in avgpooling_arm_avgpool_s8() 55 pool_params.stride.w = AVGPOOLING_STRIDE_X; in avgpooling_arm_avgpool_s8() 91 input_dims.w = AVGPOOLING_1_INPUT_W; in avgpooling_1_arm_avgpool_s8() 94 filter_dims.w = AVGPOOLING_1_FILTER_X; in avgpooling_1_arm_avgpool_s8() 96 output_dims.w = AVGPOOLING_1_OUTPUT_W; in avgpooling_1_arm_avgpool_s8() 100 pool_params.padding.w = AVGPOOLING_1_PAD_X; in avgpooling_1_arm_avgpool_s8() 102 pool_params.stride.w = AVGPOOLING_1_STRIDE_X; in avgpooling_1_arm_avgpool_s8() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_avgpool_s16/ |
D | test_arm_avgpool_s16.c | 42 input_dims.w = AVGPOOLING_INT16_INPUT_W; in avgpooling_int16_arm_avgpool_s16() 45 filter_dims.w = AVGPOOLING_INT16_FILTER_X; in avgpooling_int16_arm_avgpool_s16() 47 output_dims.w = AVGPOOLING_INT16_OUTPUT_W; in avgpooling_int16_arm_avgpool_s16() 51 pool_params.padding.w = AVGPOOLING_INT16_PAD_X; in avgpooling_int16_arm_avgpool_s16() 53 pool_params.stride.w = AVGPOOLING_INT16_STRIDE_X; in avgpooling_int16_arm_avgpool_s16() 89 input_dims.w = AVGPOOLING_INT16_1_INPUT_W; in avgpooling_int16_1_arm_avgpool_s16() 92 filter_dims.w = AVGPOOLING_INT16_1_FILTER_X; in avgpooling_int16_1_arm_avgpool_s16() 94 output_dims.w = AVGPOOLING_INT16_1_OUTPUT_W; in avgpooling_int16_1_arm_avgpool_s16() 98 pool_params.padding.w = AVGPOOLING_INT16_1_PAD_X; in avgpooling_int16_1_arm_avgpool_s16() 100 pool_params.stride.w = AVGPOOLING_INT16_1_STRIDE_X; in avgpooling_int16_1_arm_avgpool_s16() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_transpose_conv_s8/ |
D | test_arm_transpose_conv_s8.c | 50 input_dims.w = TRANSPOSE_CONV_1_INPUT_W; in transpose_conv_1_arm_transpose_conv_s8() 53 filter_dims.w = TRANSPOSE_CONV_1_FILTER_X; in transpose_conv_1_arm_transpose_conv_s8() 56 output_dims.w = TRANSPOSE_CONV_1_OUTPUT_W; in transpose_conv_1_arm_transpose_conv_s8() 60 output_ctx.size = output_dims.w * output_dims.h * output_dims.c * sizeof(int32_t); in transpose_conv_1_arm_transpose_conv_s8() 63 transpose_conv_params.padding.w = TRANSPOSE_CONV_1_PAD_X; in transpose_conv_1_arm_transpose_conv_s8() 65 transpose_conv_params.padding_offsets.w = TRANSPOSE_CONV_1_PAD_X_WITH_OFFSET; in transpose_conv_1_arm_transpose_conv_s8() 68 transpose_conv_params.stride.w = TRANSPOSE_CONV_1_STRIDE_X; in transpose_conv_1_arm_transpose_conv_s8() 70 transpose_conv_params.dilation.w = TRANSPOSE_CONV_1_DILATION_X; in transpose_conv_1_arm_transpose_conv_s8() 136 input_dims.w = TRANSPOSE_CONV_2_INPUT_W; in transpose_conv_2_arm_transpose_conv_s8() 139 filter_dims.w = TRANSPOSE_CONV_2_FILTER_X; in transpose_conv_2_arm_transpose_conv_s8() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s16/ |
D | test_arm_depthwise_conv_s16.c | 47 input_dims.w = DW_INT16XINT8_INPUT_W; in dw_int16xint8_arm_depthwise_conv_s16() 50 filter_dims.w = DW_INT16XINT8_FILTER_X; in dw_int16xint8_arm_depthwise_conv_s16() 52 output_dims.w = DW_INT16XINT8_OUTPUT_W; in dw_int16xint8_arm_depthwise_conv_s16() 56 dw_conv_params.padding.w = DW_INT16XINT8_PAD_X; in dw_int16xint8_arm_depthwise_conv_s16() 58 dw_conv_params.stride.w = DW_INT16XINT8_STRIDE_X; in dw_int16xint8_arm_depthwise_conv_s16() 60 dw_conv_params.dilation.w = DW_INT16XINT8_DILATION_X; in dw_int16xint8_arm_depthwise_conv_s16() 144 input_dims.w = DW_INT16XINT8_DILATION_INPUT_W; in dw_int16xint8_dilation_arm_depthwise_conv_s16() 147 filter_dims.w = DW_INT16XINT8_DILATION_FILTER_X; in dw_int16xint8_dilation_arm_depthwise_conv_s16() 149 output_dims.w = DW_INT16XINT8_DILATION_OUTPUT_W; in dw_int16xint8_dilation_arm_depthwise_conv_s16() 153 dw_conv_params.padding.w = DW_INT16XINT8_DILATION_PAD_X; in dw_int16xint8_dilation_arm_depthwise_conv_s16() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_grouped_convolve_s8/ |
D | test_arm_grouped_convolve_s8.c | 50 input_dims.w = GROUPED_CONV_1_INPUT_W; in grouped_conv_arm_grouped_convolve_1_s8() 53 filter_dims.w = GROUPED_CONV_1_FILTER_X; in grouped_conv_arm_grouped_convolve_1_s8() 56 output_dims.w = GROUPED_CONV_1_OUTPUT_W; in grouped_conv_arm_grouped_convolve_1_s8() 60 conv_params.padding.w = GROUPED_CONV_1_PAD_X; in grouped_conv_arm_grouped_convolve_1_s8() 62 conv_params.stride.w = GROUPED_CONV_1_STRIDE_X; in grouped_conv_arm_grouped_convolve_1_s8() 64 conv_params.dilation.w = GROUPED_CONV_1_DILATION_X; in grouped_conv_arm_grouped_convolve_1_s8() 121 input_dims.w = GROUPED_CONV_2_INPUT_W; in grouped_conv_arm_grouped_convolve_2_s8() 124 filter_dims.w = GROUPED_CONV_2_FILTER_X; in grouped_conv_arm_grouped_convolve_2_s8() 127 output_dims.w = GROUPED_CONV_2_OUTPUT_W; in grouped_conv_arm_grouped_convolve_2_s8() 131 conv_params.padding.w = GROUPED_CONV_2_PAD_X; in grouped_conv_arm_grouped_convolve_2_s8() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_3x3_s8/ |
D | test_arm_depthwise_conv_3x3_s8.c | 48 input_dims.w = DEPTHWISE_KERNEL_3X3_INPUT_W; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 51 filter_dims.w = DEPTHWISE_KERNEL_3X3_FILTER_X; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 53 output_dims.w = DEPTHWISE_KERNEL_3X3_OUTPUT_W; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 57 dw_conv_params.padding.w = DEPTHWISE_KERNEL_3X3_PAD_X; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 59 dw_conv_params.stride.w = DEPTHWISE_KERNEL_3X3_STRIDE_X; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 61 dw_conv_params.dilation.w = DEPTHWISE_KERNEL_3X3_DILATION_X; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 150 input_dims.w = DEPTHWISE_KERNEL_3X3_INPUT_W; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 153 filter_dims.w = DEPTHWISE_KERNEL_3X3_FILTER_X + 1; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 155 output_dims.w = DEPTHWISE_KERNEL_3X3_OUTPUT_W; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 159 dw_conv_params.padding.w = DEPTHWISE_KERNEL_3X3_PAD_X + 2; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s8/ |
D | test_arm_depthwise_conv_s8.c | 48 input_dims.w = DEPTHWISE_2_INPUT_W; in depthwise_2_arm_depthwise_conv_s8() 51 filter_dims.w = DEPTHWISE_2_FILTER_X; in depthwise_2_arm_depthwise_conv_s8() 53 output_dims.w = DEPTHWISE_2_OUTPUT_W; in depthwise_2_arm_depthwise_conv_s8() 57 dw_conv_params.padding.w = DEPTHWISE_2_PAD_X; in depthwise_2_arm_depthwise_conv_s8() 59 dw_conv_params.stride.w = DEPTHWISE_2_STRIDE_X; in depthwise_2_arm_depthwise_conv_s8() 61 dw_conv_params.dilation.w = DEPTHWISE_2_DILATION_X; in depthwise_2_arm_depthwise_conv_s8() 144 input_dims.w = DEPTHWISE_MULT_BATCHES_INPUT_W; in depthwise_mult_batches_arm_depthwise_conv_s8() 147 filter_dims.w = DEPTHWISE_MULT_BATCHES_FILTER_X; in depthwise_mult_batches_arm_depthwise_conv_s8() 149 output_dims.w = DEPTHWISE_MULT_BATCHES_OUTPUT_W; in depthwise_mult_batches_arm_depthwise_conv_s8() 153 dw_conv_params.padding.w = DEPTHWISE_MULT_BATCHES_PAD_X; in depthwise_mult_batches_arm_depthwise_conv_s8() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s8_opt/ |
D | test_arm_depthwise_conv_s8_opt.c | 50 input_dims.w = BASIC_INPUT_W; in basic_arm_depthwise_conv_s8_opt() 53 filter_dims.w = BASIC_FILTER_X; in basic_arm_depthwise_conv_s8_opt() 55 output_dims.w = BASIC_OUTPUT_W; in basic_arm_depthwise_conv_s8_opt() 59 dw_conv_params.padding.w = BASIC_PAD_X; in basic_arm_depthwise_conv_s8_opt() 61 dw_conv_params.stride.w = BASIC_STRIDE_X; in basic_arm_depthwise_conv_s8_opt() 63 dw_conv_params.dilation.w = BASIC_DILATION_X; in basic_arm_depthwise_conv_s8_opt() 152 input_dims.w = DEPTHWISE_EQ_IN_OUT_CH_INPUT_W; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() 155 filter_dims.w = DEPTHWISE_EQ_IN_OUT_CH_FILTER_X; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() 157 output_dims.w = DEPTHWISE_EQ_IN_OUT_CH_OUTPUT_W; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() 161 dw_conv_params.padding.w = DEPTHWISE_EQ_IN_OUT_CH_PAD_X; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_convolve_s16/ |
D | test_arm_convolve_s16.c | 60 input_dims.w = INT16XINT8_INPUT_W; in int16xint8_arm_convolve_s16() 63 filter_dims.w = INT16XINT8_FILTER_X; in int16xint8_arm_convolve_s16() 65 output_dims.w = INT16XINT8_OUTPUT_W; in int16xint8_arm_convolve_s16() 69 conv_params.padding.w = INT16XINT8_PAD_X; in int16xint8_arm_convolve_s16() 71 conv_params.stride.w = INT16XINT8_STRIDE_X; in int16xint8_arm_convolve_s16() 73 conv_params.dilation.w = INT16XINT8_DILATION_X; in int16xint8_arm_convolve_s16() 150 input_dims.w = REQUANTIZE_S64_INPUT_W; in requantize_s64_arm_convolve_s16() 153 filter_dims.w = REQUANTIZE_S64_FILTER_X; in requantize_s64_arm_convolve_s16() 155 output_dims.w = REQUANTIZE_S64_OUTPUT_W; in requantize_s64_arm_convolve_s16() 159 conv_params.padding.w = REQUANTIZE_S64_PAD_X; in requantize_s64_arm_convolve_s16() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_convolve_s8/ |
D | test_arm_convolve_s8.c | 59 input_dims.w = BASIC_INPUT_W; in basic_arm_convolve_s8() 62 filter_dims.w = BASIC_FILTER_X; in basic_arm_convolve_s8() 65 output_dims.w = BASIC_OUTPUT_W; in basic_arm_convolve_s8() 69 conv_params.padding.w = BASIC_PAD_X; in basic_arm_convolve_s8() 71 conv_params.stride.w = BASIC_STRIDE_X; in basic_arm_convolve_s8() 73 conv_params.dilation.w = BASIC_DILATION_X; in basic_arm_convolve_s8() 154 input_dims.w = STRIDE2PAD1_INPUT_W; in stride2pad1_arm_convolve_s8() 157 filter_dims.w = STRIDE2PAD1_FILTER_X; in stride2pad1_arm_convolve_s8() 160 output_dims.w = STRIDE2PAD1_OUTPUT_W; in stride2pad1_arm_convolve_s8() 164 conv_params.padding.w = STRIDE2PAD1_PAD_X; in stride2pad1_arm_convolve_s8() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_depthwise_conv_fast_s16/ |
D | test_arm_depthwise_conv_fast_s16.c | 54 input_dims.w = DW_INT16XINT8_FAST_INPUT_W; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 57 filter_dims.w = DW_INT16XINT8_FAST_FILTER_X; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 59 output_dims.w = DW_INT16XINT8_FAST_OUTPUT_W; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 63 dw_conv_params.padding.w = DW_INT16XINT8_FAST_PAD_X; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 65 dw_conv_params.stride.w = DW_INT16XINT8_FAST_STRIDE_X; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 67 dw_conv_params.dilation.w = DW_INT16XINT8_FAST_DILATION_X; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 151 input_dims.w = DW_INT16XINT8_FAST_SPILL_INPUT_W; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() 154 filter_dims.w = DW_INT16XINT8_FAST_SPILL_FILTER_X; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() 156 output_dims.w = DW_INT16XINT8_FAST_SPILL_OUTPUT_W; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() 160 dw_conv_params.padding.w = DW_INT16XINT8_FAST_SPILL_PAD_X; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() [all …]
|
/cmsis-nn-3.7.0/Tests/UnitTest/TestCases/test_arm_convolve_s4/ |
D | test_arm_convolve_s4.c | 65 input_dims.w = BASIC_INT4_INPUT_W; in basic_arm_convolve_s4() 68 filter_dims.w = BASIC_INT4_FILTER_X; in basic_arm_convolve_s4() 70 output_dims.w = BASIC_INT4_OUTPUT_W; in basic_arm_convolve_s4() 74 conv_params.padding.w = BASIC_INT4_PAD_X; in basic_arm_convolve_s4() 76 conv_params.stride.w = BASIC_INT4_STRIDE_X; in basic_arm_convolve_s4() 78 conv_params.dilation.w = BASIC_INT4_DILATION_X; in basic_arm_convolve_s4() 159 input_dims.w = BASIC_2_INT4_INPUT_W; in basic_2_arm_convolve_s4() 162 filter_dims.w = BASIC_2_INT4_FILTER_X; in basic_2_arm_convolve_s4() 164 output_dims.w = BASIC_2_INT4_OUTPUT_W; in basic_2_arm_convolve_s4() 168 conv_params.padding.w = BASIC_2_INT4_PAD_X; in basic_2_arm_convolve_s4() [all …]
|