/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/PoolingFunctions/ |
D | arm_pool_q7_HWC.c | 170 void arm_maxpool_q7_HWC(q7_t *Im_in, in arm_maxpool_q7_HWC() argument 193 q7_t *target = Im_in + (i_y * dim_im_in + i_x) * ch_im_in; in arm_maxpool_q7_HWC() 202 win_start = Im_in + (i_y * dim_im_in + i_x * stride - padding) * ch_im_in; in arm_maxpool_q7_HWC() 207 win_stop = Im_in + (i_y * dim_im_in + dim_im_in) * ch_im_in; in arm_maxpool_q7_HWC() 211 … win_stop = Im_in + (i_y * dim_im_in + i_x * stride - padding + dim_kernel) * ch_im_in; in arm_maxpool_q7_HWC() 238 row_start = Im_in; in arm_maxpool_q7_HWC() 242 row_start = Im_in + (i_y * stride - padding) * dim_im_in * ch_im_in; in arm_maxpool_q7_HWC() 247 row_end = Im_in + dim_im_in * dim_im_in * ch_im_in; in arm_maxpool_q7_HWC() 251 row_end = Im_in + (i_y * stride - padding + dim_kernel) * dim_im_in * ch_im_in; in arm_maxpool_q7_HWC() 285 if (Im_in[i_ch_in + ch_im_in * (k_x + k_y * dim_im_in)] > max) in arm_maxpool_q7_HWC() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Include/ |
D | arm_nnfunctions.h | 295 arm_status arm_convolve_HWC_q7_basic(const q7_t *Im_in, 335 arm_status arm_convolve_HWC_q7_basic_nonsquare(const q7_t *Im_in, 376 arm_status arm_convolve_HWC_q15_basic(const q15_t *Im_in, 417 arm_status arm_convolve_HWC_q7_fast(const q7_t *Im_in, 464 arm_status arm_convolve_HWC_q7_fast_nonsquare(const q7_t *Im_in, 520 arm_status arm_convolve_1x1_HWC_q7_fast_nonsquare(const q7_t *Im_in, 677 arm_status arm_convolve_HWC_q7_RGB(const q7_t *Im_in, 719 arm_status arm_convolve_HWC_q15_fast(const q15_t *Im_in, 776 arm_status arm_convolve_HWC_q15_fast_nonsquare(const q15_t *Im_in, 823 arm_status arm_depthwise_separable_conv_HWC_q7(const q7_t *Im_in, [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/ConvolutionFunctions/ |
D | arm_convolve_HWC_q7_fast.c | 91 arm_status arm_convolve_HWC_q7_fast(const q7_t *Im_in, in arm_convolve_HWC_q7_fast() argument 152 … (q7_t *)Im_in + (i_ker_y * dim_im_in + i_ker_x) * ch_im_in, pBuffer, ch_im_in); in arm_convolve_HWC_q7_fast() 188 … (q7_t *)Im_in + (i_ker_y * dim_im_in + i_ker_x) * ch_im_in, pBuffer, ch_im_in); in arm_convolve_HWC_q7_fast() 209 arm_q7_to_q15_reordered_no_shift((q7_t *)Im_in + in arm_convolve_HWC_q7_fast() 241 … (q7_t *)Im_in + (i_ker_y * dim_im_in + i_ker_x) * ch_im_in, pBuffer, ch_im_in); in arm_convolve_HWC_q7_fast() 274 … (q7_t *)Im_in + (i_ker_y * dim_im_in + i_ker_x) * ch_im_in, pBuffer, ch_im_in); in arm_convolve_HWC_q7_fast() 361 conv_out += Im_in[(in_row * dim_im_in + in_col) * ch_im_in + l] * in arm_convolve_HWC_q7_fast()
|
D | arm_convolve_HWC_q7_fast_nonsquare.c | 74 arm_status arm_convolve_HWC_q7_fast_nonsquare(const q7_t *Im_in, in arm_convolve_HWC_q7_fast_nonsquare() argument 142 … (q7_t *)Im_in + (i_ker_y * dim_im_in_x + i_ker_x) * ch_im_in, pBuffer, ch_im_in); in arm_convolve_HWC_q7_fast_nonsquare() 180 … (q7_t *)Im_in + (i_ker_y * dim_im_in_x + i_ker_x) * ch_im_in, pBuffer, ch_im_in); in arm_convolve_HWC_q7_fast_nonsquare() 203 … (q7_t *)Im_in + (i_ker_y * dim_im_in_x + i_out_x * stride_x - padding_x) * ch_im_in, in arm_convolve_HWC_q7_fast_nonsquare() 236 … (q7_t *)Im_in + (i_ker_y * dim_im_in_x + i_ker_x) * ch_im_in, pBuffer, ch_im_in); in arm_convolve_HWC_q7_fast_nonsquare() 271 … (q7_t *)Im_in + (i_ker_y * dim_im_in_x + i_ker_x) * ch_im_in, pBuffer, ch_im_in); in arm_convolve_HWC_q7_fast_nonsquare() 358 conv_out += Im_in[(in_row * dim_im_in_x + in_col) * ch_im_in + l] * in arm_convolve_HWC_q7_fast_nonsquare()
|
D | arm_convolve_HWC_q15_basic.c | 74 arm_status arm_convolve_HWC_q15_basic(const q15_t *Im_in, in arm_convolve_HWC_q15_basic() argument 123 (q15_t *)Im_in + (i_ker_y * dim_im_in + i_ker_x) * ch_im_in, in arm_convolve_HWC_q15_basic() 190 conv_out += Im_in[(in_row * dim_im_in + in_col) * ch_im_in + l] * in arm_convolve_HWC_q15_basic()
|
D | arm_convolve_1x1_HWC_q7_fast_nonsquare.c | 81 arm_status arm_convolve_1x1_HWC_q7_fast_nonsquare(const q7_t *Im_in, in arm_convolve_1x1_HWC_q7_fast_nonsquare() argument 130 (q7_t *)Im_in + (i_out_y * dim_im_in_x + i_out_x) * ch_im_in, pBuffer, ch_im_in); in arm_convolve_1x1_HWC_q7_fast_nonsquare() 215 conv_out += Im_in[(in_row * dim_im_in_x + in_col) * ch_im_in + l] * in arm_convolve_1x1_HWC_q7_fast_nonsquare()
|
D | arm_convolve_HWC_q7_basic.c | 74 arm_status arm_convolve_HWC_q7_basic(const q7_t *Im_in, in arm_convolve_HWC_q7_basic() argument 122 … (q7_t *)Im_in + (i_ker_y * dim_im_in + i_ker_x) * ch_im_in, pBuffer, ch_im_in); in arm_convolve_HWC_q7_basic() 208 conv_out += Im_in[(in_row * dim_im_in + in_col) * ch_im_in + l] * in arm_convolve_HWC_q7_basic()
|
D | arm_convolve_HWC_q7_basic_nonsquare.c | 68 arm_status arm_convolve_HWC_q7_basic_nonsquare(const q7_t *Im_in, in arm_convolve_HWC_q7_basic_nonsquare() argument 123 … (q7_t *)Im_in + (i_ker_y * dim_im_in_x + i_ker_x) * ch_im_in, pBuffer, ch_im_in); in arm_convolve_HWC_q7_basic_nonsquare() 209 conv_out += Im_in[(in_row * dim_im_in_x + in_col) * ch_im_in + l] * in arm_convolve_HWC_q7_basic_nonsquare()
|
D | arm_convolve_HWC_q7_RGB.c | 80 arm_status arm_convolve_HWC_q7_RGB(const q7_t *Im_in, in arm_convolve_HWC_q7_RGB() argument 136 const q7_t *pPixel = Im_in + (i_ker_y * dim_im_in + i_ker_x) * 3; in arm_convolve_HWC_q7_RGB() 260 conv_out += Im_in[(in_row * dim_im_in + in_col) * ch_im_in + l] * in arm_convolve_HWC_q7_RGB()
|
D | arm_convolve_HWC_q15_fast.c | 79 arm_status arm_convolve_HWC_q15_fast(const q15_t *Im_in, in arm_convolve_HWC_q15_fast() argument 130 (q15_t *)Im_in + (i_ker_y * dim_im_in + i_ker_x) * ch_im_in, in arm_convolve_HWC_q15_fast() 238 conv_out += Im_in[(in_row * dim_im_in + in_col) * ch_im_in + l] * in arm_convolve_HWC_q15_fast()
|
D | arm_convolve_HWC_q15_fast_nonsquare.c | 84 arm_status arm_convolve_HWC_q15_fast_nonsquare(const q15_t *Im_in, in arm_convolve_HWC_q15_fast_nonsquare() argument 142 (q15_t *)Im_in + (i_ker_y * dim_im_in_x + i_ker_x) * ch_im_in, in arm_convolve_HWC_q15_fast_nonsquare() 250 conv_out += Im_in[(in_row * dim_im_in_x + in_col) * ch_im_in + l] * in arm_convolve_HWC_q15_fast_nonsquare()
|
D | arm_depthwise_separable_conv_HWC_q7.c | 82 arm_status arm_depthwise_separable_conv_HWC_q7(const q7_t *Im_in, in arm_depthwise_separable_conv_HWC_q7() argument 135 … memcpy(pBuffer, (q7_t *)Im_in + (i_ker_y * dim_im_in + i_ker_x) * ch_im_in, ch_im_in); in arm_depthwise_separable_conv_HWC_q7() 403 conv_out += Im_in[(in_row * dim_im_in + in_col) * ch_im_in + i_ch_out] * in arm_depthwise_separable_conv_HWC_q7()
|
D | arm_depthwise_separable_conv_HWC_q7_nonsquare.c | 74 arm_status arm_depthwise_separable_conv_HWC_q7_nonsquare(const q7_t *Im_in, in arm_depthwise_separable_conv_HWC_q7_nonsquare() argument 145 … memcpy(pBuffer, (q7_t *)Im_in + (i_ker_y * dim_im_in_x + i_ker_x) * ch_im_in, ch_im_in); in arm_depthwise_separable_conv_HWC_q7_nonsquare() 408 … conv_out += Im_in[(in_row * dim_im_in_x + in_col) * ch_im_in + i_ch_out] * in arm_depthwise_separable_conv_HWC_q7_nonsquare()
|