Home
last modified time | relevance | path

Searched refs:k_y (Results 1 – 7 of 7) sorted by relevance

/cmsis-nn-latest/Source/PoolingFunctions/
Darm_avgpool_s16.c135 for (int k_y = k_y_start; k_y < k_y_end; k_y++) in arm_avgpool_s16() local
139 const int16_t *src_inner = src_base + (ch_src * (k_x + k_y * input_x)); in arm_avgpool_s16()
229 for (int k_y = kernel_y_start; k_y < kernel_y_end; k_y++) in arm_avgpool_s16() local
233 … const int16_t *start = src + ch_src * (k_x + idx_x + (k_y + idx_y) * input_x); in arm_avgpool_s16()
293 for (int k_y = ker_y_start; k_y < kernel_y_end; k_y++) in arm_avgpool_s16() local
297 … sum += src[i_ch_in + ch_src * (k_x + base_idx_x + (k_y + base_idx_y) * input_x)]; in arm_avgpool_s16()
Darm_avgpool_s8.c138 for (int k_y = k_y_start; k_y < k_y_end; k_y++) in arm_avgpool_s8() local
142 const int8_t *src_inner = src_base + (ch_src * (k_x + k_y * input_x)); in arm_avgpool_s8()
293 for (int k_y = kernel_y_start; k_y < kernel_y_end; k_y++) in arm_avgpool_s8() local
297 … const int8_t *start = src + ch_src * (k_x + idx_x + (k_y + idx_y) * input_x); in arm_avgpool_s8()
349 … for (int k_y = i_y * stride_y - pad_y; k_y < i_y * stride_y - pad_y + kernel_y; k_y++) in arm_avgpool_s8() local
353 if (k_y >= 0 && k_x >= 0 && k_y < input_y && k_x < input_x) in arm_avgpool_s8()
355 sum += src[i_ch_in + ch_src * (k_x + k_y * input_x)]; in arm_avgpool_s8()
Darm_max_pool_s16.c194 for (int k_y = ker_y_start; k_y < kernel_y_end; k_y++) in arm_max_pool_s16() local
198 … const int16_t *start = src + channel_in * (k_x + base_idx_x + (k_y + base_idx_y) * input_x); in arm_max_pool_s16()
Darm_max_pool_s8.c210 for (int k_y = ker_y_start; k_y < kernel_y_end; k_y++) in arm_max_pool_s8() local
214 … const int8_t *start = src + channel_in * (k_x + base_idx_x + (k_y + base_idx_y) * input_x); in arm_max_pool_s8()
/cmsis-nn-latest/Source/ConvolutionFunctions/
Darm_convolve_s4.c117 const int32_t k_y = base_idx_y + dilation_y * i_ker_y; in arm_convolve_s4() local
120 if (k_y < 0 || k_y >= input_y || k_x < 0 || k_x >= input_x) in arm_convolve_s4()
126 … arm_memcpy_s8(im2col_buf, input_data + (k_y * input_x + k_x) * input_ch, input_ch); in arm_convolve_s4()
201 const int32_t k_y = base_idx_y + dilation_y * i_ker_y; in arm_convolve_s4()
204 if (k_y < 0 || k_y >= input_y || k_x < 0 || k_x >= input_x) in arm_convolve_s4()
213 … input_data + (k_y * input_x + k_x) * input_ch, two_column_buf, input_ch, input_offset); in arm_convolve_s4()
Darm_convolve_s16.c116 const int32_t k_y = base_idx_y + dilation_y * i_ker_y; in arm_convolve_s16() local
119 if (k_y < 0 || k_y >= input_y || k_x < 0 || k_x >= input_x) in arm_convolve_s16()
127 … (const int8_t *)(input_data + (k_y * input_x + k_x) * input_ch), in arm_convolve_s16()
Darm_convolve_s8.c141 const int32_t k_y = base_idx_y + dilation_y * i_ker_y; in arm_convolve_s8() local
144 if (k_y < 0 || k_y >= input_y || k_x < 0 || k_x >= input_x) in arm_convolve_s8()
151 … input_data + (k_y * input_x + k_x) * input_ch + i_group * kernel_ch, in arm_convolve_s8()