/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_max_pool_s8/ |
D | test_arm_max_pool_s8.c | 40 cmsis_nn_pool_params pool_params; in maxpooling_arm_max_pool_s8() local 57 pool_params.padding.w = MAXPOOLING_PAD_X; in maxpooling_arm_max_pool_s8() 58 pool_params.padding.h = MAXPOOLING_PAD_Y; in maxpooling_arm_max_pool_s8() 59 pool_params.stride.w = MAXPOOLING_STRIDE_X; in maxpooling_arm_max_pool_s8() 60 pool_params.stride.h = MAXPOOLING_STRIDE_Y; in maxpooling_arm_max_pool_s8() 62 pool_params.activation.min = MAXPOOLING_OUT_ACTIVATION_MIN; in maxpooling_arm_max_pool_s8() 63 pool_params.activation.max = MAXPOOLING_OUT_ACTIVATION_MAX; in maxpooling_arm_max_pool_s8() 68 … arm_max_pool_s8(&ctx, &pool_params, &input_dims, input_data, &filter_dims, &output_dims, output); in maxpooling_arm_max_pool_s8() 81 cmsis_nn_pool_params pool_params; in maxpooling_1_arm_max_pool_s8() local 98 pool_params.padding.w = MAXPOOLING_1_PAD_X; 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 | 35 cmsis_nn_pool_params pool_params; in maxpool_int16_arm_max_pool_s16() local 52 pool_params.padding.w = MAXPOOL_INT16_PAD_X; in maxpool_int16_arm_max_pool_s16() 53 pool_params.padding.h = MAXPOOL_INT16_PAD_Y; in maxpool_int16_arm_max_pool_s16() 54 pool_params.stride.w = MAXPOOL_INT16_STRIDE_X; in maxpool_int16_arm_max_pool_s16() 55 pool_params.stride.h = MAXPOOL_INT16_STRIDE_Y; in maxpool_int16_arm_max_pool_s16() 57 pool_params.activation.min = MAXPOOL_INT16_OUT_ACTIVATION_MIN; in maxpool_int16_arm_max_pool_s16() 58 pool_params.activation.max = MAXPOOL_INT16_OUT_ACTIVATION_MAX; in maxpool_int16_arm_max_pool_s16() 63 … arm_max_pool_s16(&ctx, &pool_params, &input_dims, input_data, &filter_dims, &output_dims, output); in maxpool_int16_arm_max_pool_s16() 76 cmsis_nn_pool_params pool_params; in maxpool_int16_1_arm_max_pool_s16() local 93 pool_params.padding.w = MAXPOOL_INT16_1_PAD_X; in maxpool_int16_1_arm_max_pool_s16() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_avgpool_s8/ |
D | test_arm_avgpool_s8.c | 36 cmsis_nn_pool_params pool_params; in avgpooling_arm_avgpool_s8() local 53 pool_params.padding.w = AVGPOOLING_PAD_X; in avgpooling_arm_avgpool_s8() 54 pool_params.padding.h = AVGPOOLING_PAD_Y; in avgpooling_arm_avgpool_s8() 55 pool_params.stride.w = AVGPOOLING_STRIDE_X; in avgpooling_arm_avgpool_s8() 56 pool_params.stride.h = AVGPOOLING_STRIDE_Y; in avgpooling_arm_avgpool_s8() 58 pool_params.activation.min = AVGPOOLING_OUT_ACTIVATION_MIN; in avgpooling_arm_avgpool_s8() 59 pool_params.activation.max = AVGPOOLING_OUT_ACTIVATION_MAX; in avgpooling_arm_avgpool_s8() 65 … arm_avgpool_s8(&ctx, &pool_params, &input_dims, input_data, &filter_dims, &output_dims, output); in avgpooling_arm_avgpool_s8() 83 cmsis_nn_pool_params pool_params; in avgpooling_1_arm_avgpool_s8() local 100 pool_params.padding.w = AVGPOOLING_1_PAD_X; in avgpooling_1_arm_avgpool_s8() [all …]
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_avgpool_s16/ |
D | test_arm_avgpool_s16.c | 34 cmsis_nn_pool_params pool_params; in avgpooling_int16_arm_avgpool_s16() local 51 pool_params.padding.w = AVGPOOLING_INT16_PAD_X; in avgpooling_int16_arm_avgpool_s16() 52 pool_params.padding.h = AVGPOOLING_INT16_PAD_Y; in avgpooling_int16_arm_avgpool_s16() 53 pool_params.stride.w = AVGPOOLING_INT16_STRIDE_X; in avgpooling_int16_arm_avgpool_s16() 54 pool_params.stride.h = AVGPOOLING_INT16_STRIDE_Y; in avgpooling_int16_arm_avgpool_s16() 56 pool_params.activation.min = AVGPOOLING_INT16_OUT_ACTIVATION_MIN; in avgpooling_int16_arm_avgpool_s16() 57 pool_params.activation.max = AVGPOOLING_INT16_OUT_ACTIVATION_MAX; in avgpooling_int16_arm_avgpool_s16() 63 … arm_avgpool_s16(&ctx, &pool_params, &input_dims, input_data, &filter_dims, &output_dims, output); in avgpooling_int16_arm_avgpool_s16() 81 cmsis_nn_pool_params pool_params; in avgpooling_int16_1_arm_avgpool_s16() local 98 pool_params.padding.w = AVGPOOLING_INT16_1_PAD_X; in avgpooling_int16_1_arm_avgpool_s16() [all …]
|
/cmsis-nn-latest/Source/PoolingFunctions/ |
D | arm_avgpool_s8.c | 75 const cmsis_nn_pool_params *pool_params, in arm_avgpool_s8() argument 87 const int32_t stride_y = pool_params->stride.h; in arm_avgpool_s8() 88 const int32_t stride_x = pool_params->stride.w; in arm_avgpool_s8() 91 const int32_t pad_y = pool_params->padding.h; in arm_avgpool_s8() 92 const int32_t pad_x = pool_params->padding.w; in arm_avgpool_s8() 93 const int32_t act_min = pool_params->activation.min; in arm_avgpool_s8() 94 const int32_t act_max = pool_params->activation.max; in arm_avgpool_s8() 237 const cmsis_nn_pool_params *pool_params, in arm_avgpool_s8() argument 248 const int32_t stride_y = pool_params->stride.h; in arm_avgpool_s8() 249 const int32_t stride_x = pool_params->stride.w; in arm_avgpool_s8() [all …]
|
D | arm_max_pool_s16.c | 146 const cmsis_nn_pool_params *pool_params, in arm_max_pool_s16() argument 158 const int32_t stride_y = pool_params->stride.h; in arm_max_pool_s16() 159 const int32_t stride_x = pool_params->stride.w; in arm_max_pool_s16() 162 const int32_t pad_y = pool_params->padding.h; in arm_max_pool_s16() 163 const int32_t pad_x = pool_params->padding.w; in arm_max_pool_s16() 164 const int16_t act_min = pool_params->activation.min; in arm_max_pool_s16() 165 const int16_t act_max = pool_params->activation.max; in arm_max_pool_s16()
|
D | arm_max_pool_s8.c | 163 const cmsis_nn_pool_params *pool_params, in arm_max_pool_s8() argument 175 const int32_t stride_y = pool_params->stride.h; in arm_max_pool_s8() 176 const int32_t stride_x = pool_params->stride.w; in arm_max_pool_s8() 179 const int32_t pad_y = pool_params->padding.h; in arm_max_pool_s8() 180 const int32_t pad_x = pool_params->padding.w; in arm_max_pool_s8() 181 const int32_t act_min = pool_params->activation.min; in arm_max_pool_s8() 182 const int32_t act_max = pool_params->activation.max; in arm_max_pool_s8()
|
D | arm_avgpool_s16.c | 74 const cmsis_nn_pool_params *pool_params, in arm_avgpool_s16() argument 85 const int32_t stride_y = pool_params->stride.h; in arm_avgpool_s16() 86 const int32_t stride_x = pool_params->stride.w; in arm_avgpool_s16() 89 const int32_t pad_y = pool_params->padding.h; in arm_avgpool_s16() 90 const int32_t pad_x = pool_params->padding.w; in arm_avgpool_s16() 91 const int32_t act_min = pool_params->activation.min; in arm_avgpool_s16() 92 const int32_t act_max = pool_params->activation.max; in arm_avgpool_s16()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_ds_cnn_s_s8/ |
D | test_arm_ds_cnn_s_s8.c | 369 cmsis_nn_pool_params pool_params; in ds_cnn_s_s8_inference() local 370 pool_params.activation.max = AVERAGE_POOL_2D_10_OUT_ACTIVATION_MAX; in ds_cnn_s_s8_inference() 371 pool_params.activation.min = AVERAGE_POOL_2D_10_OUT_ACTIVATION_MIN; in ds_cnn_s_s8_inference() 372 pool_params.padding.h = AVERAGE_POOL_2D_10_PAD_H; in ds_cnn_s_s8_inference() 373 pool_params.padding.w = AVERAGE_POOL_2D_10_PAD_W; in ds_cnn_s_s8_inference() 374 pool_params.stride.h = AVERAGE_POOL_2D_10_STRIDE_H; in ds_cnn_s_s8_inference() 375 pool_params.stride.w = AVERAGE_POOL_2D_10_STRIDE_W; in ds_cnn_s_s8_inference() 386 …arm_avgpool_s8(&ctx, &pool_params, &in_out_dim_1, in_out_buf_0, &conv_filter_dims, &in_out_dim_0, … in ds_cnn_s_s8_inference()
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/test_arm_ds_cnn_l_s8/ |
D | test_arm_ds_cnn_l_s8.c | 428 cmsis_nn_pool_params pool_params; in ds_cnn_l_s8_inference() local 429 pool_params.activation.max = AVERAGE_POOL_2D_12_OUT_ACTIVATION_MAX; in ds_cnn_l_s8_inference() 430 pool_params.activation.min = AVERAGE_POOL_2D_12_OUT_ACTIVATION_MIN; in ds_cnn_l_s8_inference() 431 pool_params.padding.h = AVERAGE_POOL_2D_12_PAD_H; in ds_cnn_l_s8_inference() 432 pool_params.padding.w = AVERAGE_POOL_2D_12_PAD_W; in ds_cnn_l_s8_inference() 433 pool_params.stride.h = AVERAGE_POOL_2D_12_STRIDE_H; in ds_cnn_l_s8_inference() 434 pool_params.stride.w = AVERAGE_POOL_2D_12_STRIDE_W; in ds_cnn_l_s8_inference() 445 …arm_avgpool_s8(&ctx, &pool_params, &in_out_dim_1, in_out_buf_0, &conv_filter_dims, &in_out_dim_0, … in ds_cnn_l_s8_inference()
|
/cmsis-nn-latest/Include/ |
D | arm_nnfunctions.h | 1907 const cmsis_nn_pool_params *pool_params, 1970 const cmsis_nn_pool_params *pool_params, 2034 const cmsis_nn_pool_params *pool_params, 2069 const cmsis_nn_pool_params *pool_params,
|