/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_max_pool_s8/ |
D | test_arm_max_pool_s8.c | 49 input_dims.h = MAXPOOLING_INPUT_H; in maxpooling_arm_max_pool_s8() 52 filter_dims.h = MAXPOOLING_FILTER_Y; in maxpooling_arm_max_pool_s8() 54 output_dims.h = MAXPOOLING_OUTPUT_H; in maxpooling_arm_max_pool_s8() 58 pool_params.padding.h = MAXPOOLING_PAD_Y; in maxpooling_arm_max_pool_s8() 60 pool_params.stride.h = MAXPOOLING_STRIDE_Y; in maxpooling_arm_max_pool_s8() 90 input_dims.h = MAXPOOLING_1_INPUT_H; in maxpooling_1_arm_max_pool_s8() 93 filter_dims.h = MAXPOOLING_1_FILTER_Y; in maxpooling_1_arm_max_pool_s8() 95 output_dims.h = MAXPOOLING_1_OUTPUT_H; in maxpooling_1_arm_max_pool_s8() 99 pool_params.padding.h = MAXPOOLING_1_PAD_Y; in maxpooling_1_arm_max_pool_s8() 101 pool_params.stride.h = MAXPOOLING_1_STRIDE_Y; in maxpooling_1_arm_max_pool_s8() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_max_pool_s16/ |
D | test_arm_max_pool_s16.c | 44 input_dims.h = MAXPOOL_INT16_INPUT_H; in maxpool_int16_arm_max_pool_s16() 47 filter_dims.h = MAXPOOL_INT16_FILTER_Y; in maxpool_int16_arm_max_pool_s16() 49 output_dims.h = MAXPOOL_INT16_OUTPUT_H; in maxpool_int16_arm_max_pool_s16() 53 pool_params.padding.h = MAXPOOL_INT16_PAD_Y; in maxpool_int16_arm_max_pool_s16() 55 pool_params.stride.h = MAXPOOL_INT16_STRIDE_Y; in maxpool_int16_arm_max_pool_s16() 85 input_dims.h = MAXPOOL_INT16_1_INPUT_H; in maxpool_int16_1_arm_max_pool_s16() 88 filter_dims.h = MAXPOOL_INT16_1_FILTER_Y; in maxpool_int16_1_arm_max_pool_s16() 90 output_dims.h = MAXPOOL_INT16_1_OUTPUT_H; in maxpool_int16_1_arm_max_pool_s16() 94 pool_params.padding.h = MAXPOOL_INT16_1_PAD_Y; in maxpool_int16_1_arm_max_pool_s16() 96 pool_params.stride.h = MAXPOOL_INT16_1_STRIDE_Y; in maxpool_int16_1_arm_max_pool_s16() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_1x1_s4_fast/ |
D | test_arm_convolve_1x1_s4_fast.c | 49 input_dims.h = KERNEL1X1_INT4_INPUT_H; in kernel1x1_arm_convolve_1x1_s4_fast() 53 filter_dims.h = KERNEL1X1_INT4_FILTER_Y; in kernel1x1_arm_convolve_1x1_s4_fast() 57 output_dims.h = KERNEL1X1_INT4_OUTPUT_H; in kernel1x1_arm_convolve_1x1_s4_fast() 61 conv_params.padding.h = KERNEL1X1_INT4_PAD_Y; in kernel1x1_arm_convolve_1x1_s4_fast() 63 conv_params.stride.h = KERNEL1X1_INT4_STRIDE_Y; in kernel1x1_arm_convolve_1x1_s4_fast() 66 conv_params.dilation.h = KERNEL1X1_INT4_DILATION_Y; in kernel1x1_arm_convolve_1x1_s4_fast() 69 bias_dims.h = 1; in kernel1x1_arm_convolve_1x1_s4_fast() 123 input_dims.h = KERNEL1X1_INT4_2_INPUT_H; in kernel1x1_2_arm_convolve_1x1_s4_fast() 127 filter_dims.h = KERNEL1X1_INT4_2_FILTER_Y; in kernel1x1_2_arm_convolve_1x1_s4_fast() 131 output_dims.h = KERNEL1X1_INT4_2_OUTPUT_H; in kernel1x1_2_arm_convolve_1x1_s4_fast() [all …]
|
/cmsis-nn-latest/Source/ConvolutionFunctions/ |
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() 75 dw_conv_params->dilation.h == 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() 98 dw_conv_params->dilation.h == 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() 119 dw_conv_params->dilation.h == 1) in arm_depthwise_conv_wrapper_s8_get_buffer_size_mve()
|
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() 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() 147 else if ((input_dims->h == 1) && (conv_params->dilation.w == 1) && (filter_dims->h == 1) && in arm_convolve_wrapper_s8_get_buffer_size() 165 if ((conv_params->padding.w == 0) && (conv_params->padding.h == 0) && (filter_dims->w == 1) && in arm_convolve_wrapper_s8_get_buffer_size_mve() 166 (filter_dims->h == 1) && (conv_params->dilation.w == 1 && conv_params->dilation.h == 1)) in arm_convolve_wrapper_s8_get_buffer_size_mve() 168 if ((conv_params->stride.w == 1) && (conv_params->stride.h == 1)) in arm_convolve_wrapper_s8_get_buffer_size_mve() 177 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_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()
|
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() 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() 149 if ((conv_params->padding.w == 0) && (conv_params->padding.h == 0) && (filter_dims->w == 1) && in arm_convolve_wrapper_s4_get_buffer_size_mve() 150 (filter_dims->h == 1) && (conv_params->dilation.w == 1 && conv_params->dilation.h == 1)) in arm_convolve_wrapper_s4_get_buffer_size_mve() 152 if ((conv_params->stride.w == 1) && (conv_params->stride.h == 1)) in arm_convolve_wrapper_s4_get_buffer_size_mve() 161 else if ((input_dims->h == 1) && (conv_params->dilation.w == 1) && (filter_dims->h == 1) && in arm_convolve_wrapper_s4_get_buffer_size_mve()
|
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()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_ds_cnn_s_s8/ |
D | test_arm_ds_cnn_s_s8.c | 49 conv_params.padding.h = CONV_2D_1_PAD_H; in ds_cnn_s_s8_get_buffer_size() 51 conv_params.stride.h = CONV_2D_1_STRIDE_H; in ds_cnn_s_s8_get_buffer_size() 53 conv_params.dilation.h = CONV_2D_1_DILATION_H; in ds_cnn_s_s8_get_buffer_size() 57 input_dims.h = CONV_2D_1_INPUT_H; in ds_cnn_s_s8_get_buffer_size() 61 filter_dims.h = CONV_2D_1_FILTER_H; in ds_cnn_s_s8_get_buffer_size() 66 output_dims.h = CONV_2D_1_OUTPUT_H; in ds_cnn_s_s8_get_buffer_size() 79 dw_conv_params.dilation.h = DEPTHWISE_CONV_2D_2_DILATION_H; in ds_cnn_s_s8_get_buffer_size() 83 dw_conv_params.padding.h = DEPTHWISE_CONV_2D_2_PAD_H; in ds_cnn_s_s8_get_buffer_size() 85 dw_conv_params.stride.h = DEPTHWISE_CONV_2D_2_STRIDE_H; in ds_cnn_s_s8_get_buffer_size() 88 filter_dims.h = DEPTHWISE_CONV_2D_2_FILTER_H; in ds_cnn_s_s8_get_buffer_size() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_ds_cnn_l_s8/ |
D | test_arm_ds_cnn_l_s8.c | 47 conv_params.padding.h = CONV_2D_1_PAD_H; in ds_cnn_l_s8_get_buffer_size() 49 conv_params.stride.h = CONV_2D_1_STRIDE_H; in ds_cnn_l_s8_get_buffer_size() 51 conv_params.dilation.h = CONV_2D_1_DILATION_H; in ds_cnn_l_s8_get_buffer_size() 55 input_dims.h = CONV_2D_1_INPUT_H; in ds_cnn_l_s8_get_buffer_size() 59 filter_dims.h = CONV_2D_1_FILTER_H; in ds_cnn_l_s8_get_buffer_size() 64 output_dims.h = CONV_2D_1_OUTPUT_H; in ds_cnn_l_s8_get_buffer_size() 77 dw_conv_params.dilation.h = DEPTHWISE_CONV_2D_2_DILATION_H; in ds_cnn_l_s8_get_buffer_size() 81 dw_conv_params.padding.h = DEPTHWISE_CONV_2D_2_PAD_H; in ds_cnn_l_s8_get_buffer_size() 83 dw_conv_params.stride.h = DEPTHWISE_CONV_2D_2_STRIDE_H; in ds_cnn_l_s8_get_buffer_size() 86 filter_dims.h = DEPTHWISE_CONV_2D_2_FILTER_H; in ds_cnn_l_s8_get_buffer_size() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_1x1_s8_fast/ |
D | test_arm_convolve_1x1_s8_fast.c | 47 input_dims.h = KERNEL1X1_INPUT_H; in kernel1x1_arm_convolve_1x1_s8_fast() 51 filter_dims.h = KERNEL1X1_FILTER_Y; in kernel1x1_arm_convolve_1x1_s8_fast() 55 output_dims.h = KERNEL1X1_OUTPUT_H; in kernel1x1_arm_convolve_1x1_s8_fast() 59 conv_params.padding.h = KERNEL1X1_PAD_Y; in kernel1x1_arm_convolve_1x1_s8_fast() 61 conv_params.stride.h = KERNEL1X1_STRIDE_Y; in kernel1x1_arm_convolve_1x1_s8_fast() 65 bias_dims.h = 1; in kernel1x1_arm_convolve_1x1_s8_fast() 119 input_dims.h = KERNEL1X1_STRIDE_X_INPUT_H; in kernel1x1_stride_x_arm_convolve_1x1_s8() 124 filter_dims.h = KERNEL1X1_STRIDE_X_FILTER_Y; in kernel1x1_stride_x_arm_convolve_1x1_s8() 129 output_dims.h = KERNEL1X1_STRIDE_X_OUTPUT_H; in kernel1x1_stride_x_arm_convolve_1x1_s8() 134 bias_dims.h = 1; in kernel1x1_stride_x_arm_convolve_1x1_s8() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_avgpool_s8/ |
D | test_arm_avgpool_s8.c | 45 input_dims.h = AVGPOOLING_INPUT_H; in avgpooling_arm_avgpool_s8() 48 filter_dims.h = AVGPOOLING_FILTER_Y; in avgpooling_arm_avgpool_s8() 50 output_dims.h = AVGPOOLING_OUTPUT_H; in avgpooling_arm_avgpool_s8() 54 pool_params.padding.h = AVGPOOLING_PAD_Y; in avgpooling_arm_avgpool_s8() 56 pool_params.stride.h = AVGPOOLING_STRIDE_Y; in avgpooling_arm_avgpool_s8() 92 input_dims.h = AVGPOOLING_1_INPUT_H; in avgpooling_1_arm_avgpool_s8() 95 filter_dims.h = AVGPOOLING_1_FILTER_Y; in avgpooling_1_arm_avgpool_s8() 97 output_dims.h = AVGPOOLING_1_OUTPUT_H; in avgpooling_1_arm_avgpool_s8() 101 pool_params.padding.h = AVGPOOLING_1_PAD_Y; in avgpooling_1_arm_avgpool_s8() 103 pool_params.stride.h = AVGPOOLING_1_STRIDE_Y; in avgpooling_1_arm_avgpool_s8() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_avgpool_s16/ |
D | test_arm_avgpool_s16.c | 43 input_dims.h = AVGPOOLING_INT16_INPUT_H; in avgpooling_int16_arm_avgpool_s16() 46 filter_dims.h = AVGPOOLING_INT16_FILTER_Y; in avgpooling_int16_arm_avgpool_s16() 48 output_dims.h = AVGPOOLING_INT16_OUTPUT_H; in avgpooling_int16_arm_avgpool_s16() 52 pool_params.padding.h = AVGPOOLING_INT16_PAD_Y; in avgpooling_int16_arm_avgpool_s16() 54 pool_params.stride.h = AVGPOOLING_INT16_STRIDE_Y; in avgpooling_int16_arm_avgpool_s16() 90 input_dims.h = AVGPOOLING_INT16_1_INPUT_H; in avgpooling_int16_1_arm_avgpool_s16() 93 filter_dims.h = AVGPOOLING_INT16_1_FILTER_Y; in avgpooling_int16_1_arm_avgpool_s16() 95 output_dims.h = AVGPOOLING_INT16_1_OUTPUT_H; in avgpooling_int16_1_arm_avgpool_s16() 99 pool_params.padding.h = AVGPOOLING_INT16_1_PAD_Y; in avgpooling_int16_1_arm_avgpool_s16() 101 pool_params.stride.h = AVGPOOLING_INT16_1_STRIDE_Y; in avgpooling_int16_1_arm_avgpool_s16() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_transpose_conv_s8/ |
D | test_arm_transpose_conv_s8.c | 51 input_dims.h = TRANSPOSE_CONV_1_INPUT_H; in transpose_conv_1_arm_transpose_conv_s8() 54 filter_dims.h = TRANSPOSE_CONV_1_FILTER_Y; in transpose_conv_1_arm_transpose_conv_s8() 57 output_dims.h = TRANSPOSE_CONV_1_OUTPUT_H; 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() 64 transpose_conv_params.padding.h = TRANSPOSE_CONV_1_PAD_Y; in transpose_conv_1_arm_transpose_conv_s8() 66 transpose_conv_params.padding_offsets.h = TRANSPOSE_CONV_1_PAD_Y_WITH_OFFSET; in transpose_conv_1_arm_transpose_conv_s8() 69 transpose_conv_params.stride.h = TRANSPOSE_CONV_1_STRIDE_Y; in transpose_conv_1_arm_transpose_conv_s8() 71 transpose_conv_params.dilation.h = TRANSPOSE_CONV_1_DILATION_Y; in transpose_conv_1_arm_transpose_conv_s8() 137 input_dims.h = TRANSPOSE_CONV_2_INPUT_H; in transpose_conv_2_arm_transpose_conv_s8() 140 filter_dims.h = TRANSPOSE_CONV_2_FILTER_Y; in transpose_conv_2_arm_transpose_conv_s8() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s16/ |
D | test_arm_depthwise_conv_s16.c | 48 input_dims.h = DW_INT16XINT8_INPUT_H; in dw_int16xint8_arm_depthwise_conv_s16() 51 filter_dims.h = DW_INT16XINT8_FILTER_Y; in dw_int16xint8_arm_depthwise_conv_s16() 53 output_dims.h = DW_INT16XINT8_OUTPUT_H; in dw_int16xint8_arm_depthwise_conv_s16() 57 dw_conv_params.padding.h = DW_INT16XINT8_PAD_Y; in dw_int16xint8_arm_depthwise_conv_s16() 59 dw_conv_params.stride.h = DW_INT16XINT8_STRIDE_Y; in dw_int16xint8_arm_depthwise_conv_s16() 61 dw_conv_params.dilation.h = DW_INT16XINT8_DILATION_Y; in dw_int16xint8_arm_depthwise_conv_s16() 145 input_dims.h = DW_INT16XINT8_DILATION_INPUT_H; in dw_int16xint8_dilation_arm_depthwise_conv_s16() 148 filter_dims.h = DW_INT16XINT8_DILATION_FILTER_Y; in dw_int16xint8_dilation_arm_depthwise_conv_s16() 150 output_dims.h = DW_INT16XINT8_DILATION_OUTPUT_H; in dw_int16xint8_dilation_arm_depthwise_conv_s16() 154 dw_conv_params.padding.h = DW_INT16XINT8_DILATION_PAD_Y; in dw_int16xint8_dilation_arm_depthwise_conv_s16() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_grouped_convolve_s8/ |
D | test_arm_grouped_convolve_s8.c | 51 input_dims.h = GROUPED_CONV_1_INPUT_H; in grouped_conv_arm_grouped_convolve_1_s8() 54 filter_dims.h = GROUPED_CONV_1_FILTER_Y; in grouped_conv_arm_grouped_convolve_1_s8() 57 output_dims.h = GROUPED_CONV_1_OUTPUT_H; in grouped_conv_arm_grouped_convolve_1_s8() 61 conv_params.padding.h = GROUPED_CONV_1_PAD_Y; in grouped_conv_arm_grouped_convolve_1_s8() 63 conv_params.stride.h = GROUPED_CONV_1_STRIDE_Y; in grouped_conv_arm_grouped_convolve_1_s8() 65 conv_params.dilation.h = GROUPED_CONV_1_DILATION_Y; in grouped_conv_arm_grouped_convolve_1_s8() 122 input_dims.h = GROUPED_CONV_2_INPUT_H; in grouped_conv_arm_grouped_convolve_2_s8() 125 filter_dims.h = GROUPED_CONV_2_FILTER_Y; in grouped_conv_arm_grouped_convolve_2_s8() 128 output_dims.h = GROUPED_CONV_2_OUTPUT_H; in grouped_conv_arm_grouped_convolve_2_s8() 132 conv_params.padding.h = GROUPED_CONV_2_PAD_Y; in grouped_conv_arm_grouped_convolve_2_s8() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s8/ |
D | test_arm_depthwise_conv_s8.c | 49 input_dims.h = DEPTHWISE_2_INPUT_H; in depthwise_2_arm_depthwise_conv_s8() 52 filter_dims.h = DEPTHWISE_2_FILTER_Y; in depthwise_2_arm_depthwise_conv_s8() 54 output_dims.h = DEPTHWISE_2_OUTPUT_H; in depthwise_2_arm_depthwise_conv_s8() 58 dw_conv_params.padding.h = DEPTHWISE_2_PAD_Y; in depthwise_2_arm_depthwise_conv_s8() 60 dw_conv_params.stride.h = DEPTHWISE_2_STRIDE_Y; in depthwise_2_arm_depthwise_conv_s8() 62 dw_conv_params.dilation.h = DEPTHWISE_2_DILATION_Y; in depthwise_2_arm_depthwise_conv_s8() 145 input_dims.h = DEPTHWISE_MULT_BATCHES_INPUT_H; in depthwise_mult_batches_arm_depthwise_conv_s8() 148 filter_dims.h = DEPTHWISE_MULT_BATCHES_FILTER_Y; in depthwise_mult_batches_arm_depthwise_conv_s8() 150 output_dims.h = DEPTHWISE_MULT_BATCHES_OUTPUT_H; in depthwise_mult_batches_arm_depthwise_conv_s8() 154 dw_conv_params.padding.h = DEPTHWISE_MULT_BATCHES_PAD_Y; in depthwise_mult_batches_arm_depthwise_conv_s8() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_depthwise_conv_3x3_s8/ |
D | test_arm_depthwise_conv_3x3_s8.c | 49 input_dims.h = DEPTHWISE_KERNEL_3X3_INPUT_H; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 52 filter_dims.h = DEPTHWISE_KERNEL_3X3_FILTER_Y; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 54 output_dims.h = DEPTHWISE_KERNEL_3X3_OUTPUT_H; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 58 dw_conv_params.padding.h = DEPTHWISE_KERNEL_3X3_PAD_Y; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_s8() 60 dw_conv_params.stride.h = DEPTHWISE_KERNEL_3X3_STRIDE_Y; 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() 151 input_dims.h = DEPTHWISE_KERNEL_3X3_INPUT_H; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 154 filter_dims.h = DEPTHWISE_KERNEL_3X3_FILTER_Y; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 156 output_dims.h = DEPTHWISE_KERNEL_3X3_OUTPUT_H; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() 160 dw_conv_params.padding.h = DEPTHWISE_KERNEL_3X3_PAD_Y; in depthwise_kernel_3x3_arm_depthwise_conv_3x3_1_s8() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s8_opt/ |
D | test_arm_depthwise_conv_s8_opt.c | 51 input_dims.h = BASIC_INPUT_H; in basic_arm_depthwise_conv_s8_opt() 54 filter_dims.h = BASIC_FILTER_Y; in basic_arm_depthwise_conv_s8_opt() 56 output_dims.h = BASIC_OUTPUT_H; in basic_arm_depthwise_conv_s8_opt() 60 dw_conv_params.padding.h = BASIC_PAD_Y; in basic_arm_depthwise_conv_s8_opt() 62 dw_conv_params.stride.h = BASIC_STRIDE_Y; in basic_arm_depthwise_conv_s8_opt() 64 dw_conv_params.dilation.h = BASIC_DILATION_Y; in basic_arm_depthwise_conv_s8_opt() 153 input_dims.h = DEPTHWISE_EQ_IN_OUT_CH_INPUT_H; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() 156 filter_dims.h = DEPTHWISE_EQ_IN_OUT_CH_FILTER_Y; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() 158 output_dims.h = DEPTHWISE_EQ_IN_OUT_CH_OUTPUT_H; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() 162 dw_conv_params.padding.h = DEPTHWISE_EQ_IN_OUT_CH_PAD_Y; in depthwise_eq_in_out_ch_arm_depthwise_conv_s8_opt() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_s16/ |
D | test_arm_convolve_s16.c | 61 input_dims.h = INT16XINT8_INPUT_H; in int16xint8_arm_convolve_s16() 64 filter_dims.h = INT16XINT8_FILTER_Y; in int16xint8_arm_convolve_s16() 66 output_dims.h = INT16XINT8_OUTPUT_H; in int16xint8_arm_convolve_s16() 70 conv_params.padding.h = INT16XINT8_PAD_Y; in int16xint8_arm_convolve_s16() 72 conv_params.stride.h = INT16XINT8_STRIDE_Y; in int16xint8_arm_convolve_s16() 74 conv_params.dilation.h = INT16XINT8_DILATION_Y; in int16xint8_arm_convolve_s16() 151 input_dims.h = REQUANTIZE_S64_INPUT_H; in requantize_s64_arm_convolve_s16() 154 filter_dims.h = REQUANTIZE_S64_FILTER_Y; in requantize_s64_arm_convolve_s16() 156 output_dims.h = REQUANTIZE_S64_OUTPUT_H; in requantize_s64_arm_convolve_s16() 160 conv_params.padding.h = REQUANTIZE_S64_PAD_Y; in requantize_s64_arm_convolve_s16() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_s8/ |
D | test_arm_convolve_s8.c | 60 input_dims.h = BASIC_INPUT_H; in basic_arm_convolve_s8() 63 filter_dims.h = BASIC_FILTER_Y; in basic_arm_convolve_s8() 66 output_dims.h = BASIC_OUTPUT_H; in basic_arm_convolve_s8() 70 conv_params.padding.h = BASIC_PAD_Y; in basic_arm_convolve_s8() 72 conv_params.stride.h = BASIC_STRIDE_Y; in basic_arm_convolve_s8() 74 conv_params.dilation.h = BASIC_DILATION_Y; in basic_arm_convolve_s8() 155 input_dims.h = STRIDE2PAD1_INPUT_H; in stride2pad1_arm_convolve_s8() 158 filter_dims.h = STRIDE2PAD1_FILTER_Y; in stride2pad1_arm_convolve_s8() 161 output_dims.h = STRIDE2PAD1_OUTPUT_H; in stride2pad1_arm_convolve_s8() 165 conv_params.padding.h = STRIDE2PAD1_PAD_Y; in stride2pad1_arm_convolve_s8() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_depthwise_conv_fast_s16/ |
D | test_arm_depthwise_conv_fast_s16.c | 55 input_dims.h = DW_INT16XINT8_FAST_INPUT_H; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 58 filter_dims.h = DW_INT16XINT8_FAST_FILTER_Y; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 60 output_dims.h = DW_INT16XINT8_FAST_OUTPUT_H; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 64 dw_conv_params.padding.h = DW_INT16XINT8_FAST_PAD_Y; in dw_int16xint8_fast_arm_depthwise_conv_fast_s16() 66 dw_conv_params.stride.h = DW_INT16XINT8_FAST_STRIDE_Y; 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() 152 input_dims.h = DW_INT16XINT8_FAST_SPILL_INPUT_H; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() 155 filter_dims.h = DW_INT16XINT8_FAST_SPILL_FILTER_Y; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() 157 output_dims.h = DW_INT16XINT8_FAST_SPILL_OUTPUT_H; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() 161 dw_conv_params.padding.h = DW_INT16XINT8_FAST_SPILL_PAD_Y; in dw_int16xint8_fast_spill_arm_depthwise_conv_fast_s16() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_s4/ |
D | test_arm_convolve_s4.c | 66 input_dims.h = BASIC_INT4_INPUT_H; in basic_arm_convolve_s4() 69 filter_dims.h = BASIC_INT4_FILTER_Y; in basic_arm_convolve_s4() 71 output_dims.h = BASIC_INT4_OUTPUT_H; in basic_arm_convolve_s4() 75 conv_params.padding.h = BASIC_INT4_PAD_Y; in basic_arm_convolve_s4() 77 conv_params.stride.h = BASIC_INT4_STRIDE_Y; in basic_arm_convolve_s4() 79 conv_params.dilation.h = BASIC_INT4_DILATION_Y; in basic_arm_convolve_s4() 160 input_dims.h = BASIC_2_INT4_INPUT_H; in basic_2_arm_convolve_s4() 163 filter_dims.h = BASIC_2_INT4_FILTER_Y; in basic_2_arm_convolve_s4() 165 output_dims.h = BASIC_2_INT4_OUTPUT_H; in basic_2_arm_convolve_s4() 169 conv_params.padding.h = BASIC_2_INT4_PAD_Y; in basic_2_arm_convolve_s4() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_depthwise_conv_s4/ |
D | test_arm_depthwise_conv_s4.c | 51 input_dims.h = DEPTHWISE_INT4_GENERIC_INPUT_H; in depthwise_int4_generic_arm_depthwise_conv_s4() 54 filter_dims.h = DEPTHWISE_INT4_GENERIC_FILTER_Y; in depthwise_int4_generic_arm_depthwise_conv_s4() 56 output_dims.h = DEPTHWISE_INT4_GENERIC_OUTPUT_H; in depthwise_int4_generic_arm_depthwise_conv_s4() 60 dw_conv_params.padding.h = DEPTHWISE_INT4_GENERIC_PAD_Y; in depthwise_int4_generic_arm_depthwise_conv_s4() 62 dw_conv_params.stride.h = DEPTHWISE_INT4_GENERIC_STRIDE_Y; in depthwise_int4_generic_arm_depthwise_conv_s4() 64 dw_conv_params.dilation.h = DEPTHWISE_INT4_GENERIC_DILATION_Y; in depthwise_int4_generic_arm_depthwise_conv_s4() 144 input_dims.h = DEPTHWISE_INT4_GENERIC_2_INPUT_H; in depthwise_int4_generic_2_arm_depthwise_conv_s4() 147 filter_dims.h = DEPTHWISE_INT4_GENERIC_2_FILTER_Y; in depthwise_int4_generic_2_arm_depthwise_conv_s4() 149 output_dims.h = DEPTHWISE_INT4_GENERIC_2_OUTPUT_H; in depthwise_int4_generic_2_arm_depthwise_conv_s4() 153 dw_conv_params.padding.h = DEPTHWISE_INT4_GENERIC_2_PAD_Y; in depthwise_int4_generic_2_arm_depthwise_conv_s4() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_convolve_1_x_n_s8/ |
D | test_arm_convolve_1_x_n_s8.c | 56 input_dims.h = CONV_1_X_N_1_INPUT_H; in conv_1_x_n_1_arm_convolve_s8() 59 filter_dims.h = CONV_1_X_N_1_FILTER_Y; in conv_1_x_n_1_arm_convolve_s8() 62 output_dims.h = CONV_1_X_N_1_OUTPUT_H; in conv_1_x_n_1_arm_convolve_s8() 66 conv_params.padding.h = CONV_1_X_N_1_PAD_Y; in conv_1_x_n_1_arm_convolve_s8() 68 conv_params.stride.h = CONV_1_X_N_1_STRIDE_Y; in conv_1_x_n_1_arm_convolve_s8() 70 conv_params.dilation.h = CONV_1_X_N_1_DILATION_Y; in conv_1_x_n_1_arm_convolve_s8() 148 input_dims.h = CONV_1_X_N_2_INPUT_H; in conv_1_x_n_2_arm_convolve_s8() 151 filter_dims.h = CONV_1_X_N_2_FILTER_Y; in conv_1_x_n_2_arm_convolve_s8() 154 output_dims.h = CONV_1_X_N_2_OUTPUT_H; in conv_1_x_n_2_arm_convolve_s8() 158 conv_params.padding.h = CONV_1_X_N_2_PAD_Y; in conv_1_x_n_2_arm_convolve_s8() [all …]
|