Home
last modified time | relevance | path

Searched refs:dim_im_in (Results 1 – 8 of 8) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/PoolingFunctions/
Darm_pool_q7_HWC.c171 const uint16_t dim_im_in, in arm_maxpool_q7_HWC() argument
187 for (i_y = 0; i_y < dim_im_in; i_y++) in arm_maxpool_q7_HWC()
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()
205 if (i_x * stride - padding + dim_kernel >= dim_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()
242 row_start = Im_in + (i_y * stride - padding) * dim_im_in * ch_im_in; in arm_maxpool_q7_HWC()
245 if (i_y * stride - padding + dim_kernel >= dim_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()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Source/ConvolutionFunctions/
Darm_convolve_HWC_q7_fast.c92 const uint16_t dim_im_in, in arm_convolve_HWC_q7_fast() argument
144 if (i_ker_y < 0 || i_ker_y >= dim_im_in || i_ker_x < 0 || i_ker_x >= dim_im_in) in arm_convolve_HWC_q7_fast()
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()
180 if (i_ker_x < 0 || i_ker_x >= dim_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()
210 … (i_ker_y * dim_im_in + i_out_x * stride - padding) * ch_im_in, in arm_convolve_HWC_q7_fast()
233 if (i_ker_x < 0 || i_ker_x >= dim_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()
266 if (i_ker_y < 0 || i_ker_y >= dim_im_in || i_ker_x < 0 || i_ker_x >= dim_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()
[all …]
Darm_convolve_HWC_q15_basic.c75 const uint16_t dim_im_in, in arm_convolve_HWC_q15_basic() argument
112 if (i_ker_y < 0 || i_ker_y >= dim_im_in || i_ker_x < 0 || i_ker_x >= dim_im_in) in arm_convolve_HWC_q15_basic()
123 (q15_t *)Im_in + (i_ker_y * dim_im_in + i_ker_x) * ch_im_in, in arm_convolve_HWC_q15_basic()
186 if (in_row >= 0 && in_col >= 0 && in_row < dim_im_in && in_col < dim_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()
Darm_convolve_HWC_q7_basic.c75 const uint16_t dim_im_in, in arm_convolve_HWC_q7_basic() argument
112 if (i_ker_y < 0 || i_ker_y >= dim_im_in || i_ker_x < 0 || i_ker_x >= dim_im_in) in arm_convolve_HWC_q7_basic()
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()
204 if (in_row >= 0 && in_col >= 0 && in_row < dim_im_in && in_col < dim_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()
Darm_convolve_HWC_q7_RGB.c81 const uint16_t dim_im_in, in arm_convolve_HWC_q7_RGB() argument
122 if (i_ker_y < 0 || i_ker_y >= dim_im_in || i_ker_x < 0 || i_ker_x >= dim_im_in) in arm_convolve_HWC_q7_RGB()
136 const q7_t *pPixel = Im_in + (i_ker_y * dim_im_in + i_ker_x) * 3; in arm_convolve_HWC_q7_RGB()
256 if (in_row >= 0 && in_col >= 0 && in_row < dim_im_in && in_col < dim_im_in) 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()
Darm_convolve_HWC_q15_fast.c80 const uint16_t dim_im_in, in arm_convolve_HWC_q15_fast() argument
120 if (i_ker_y < 0 || i_ker_y >= dim_im_in || i_ker_x < 0 || i_ker_x >= dim_im_in) in arm_convolve_HWC_q15_fast()
130 (q15_t *)Im_in + (i_ker_y * dim_im_in + i_ker_x) * ch_im_in, in arm_convolve_HWC_q15_fast()
234 if (in_row >= 0 && in_col >= 0 && in_row < dim_im_in && in_col < dim_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()
Darm_depthwise_separable_conv_HWC_q7.c83 const uint16_t dim_im_in, in arm_depthwise_separable_conv_HWC_q7() argument
126 if (i_ker_y < 0 || i_ker_y >= dim_im_in || i_ker_x < 0 || i_ker_x >= dim_im_in) in arm_depthwise_separable_conv_HWC_q7()
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()
401 if (in_row >= 0 && in_col >= 0 && in_row < dim_im_in && in_col < dim_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()
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/NN/Include/
Darm_nnfunctions.h296 const uint16_t dim_im_in,
377 const uint16_t dim_im_in,
418 const uint16_t dim_im_in,
678 const uint16_t dim_im_in,
720 const uint16_t dim_im_in,
824 const uint16_t dim_im_in,
1585 const uint16_t dim_im_in,
1610 const uint16_t dim_im_in,