Home
last modified time | relevance | path

Searched refs:base_idx_x (Results 1 – 12 of 12) sorted by relevance

/cmsis-nn-latest/Source/ConvolutionFunctions/
Darm_depthwise_conv_s4.c85 const int16_t base_idx_x = (i_out_x * stride_x) - pad_x; in depthwise_conv_s4_generic() local
104 … const int32_t start_x_max = (-base_idx_x + dilation_x - 1) / dilation_x; in depthwise_conv_s4_generic()
106 … const int32_t end_min_x = (input_x - base_idx_x + dilation_x - 1) / dilation_x; in depthwise_conv_s4_generic()
111 ker_x_start = MAX(0, -base_idx_x); in depthwise_conv_s4_generic()
112 ker_x_end = MIN(kernel_x, input_x - base_idx_x); in depthwise_conv_s4_generic()
137 int32_t idx_x = base_idx_x + dilation_x * ker_x_start; in depthwise_conv_s4_generic()
196 … const int32_t start_x_max = (-base_idx_x + dilation_x - 1) / dilation_x; in depthwise_conv_s4_generic()
198 … const int32_t end_min_x = (input_x - base_idx_x + dilation_x - 1) / dilation_x; in depthwise_conv_s4_generic()
203 ker_x_start = MAX(0, -base_idx_x); in depthwise_conv_s4_generic()
204 ker_x_end = MIN(kernel_x, input_x - base_idx_x); in depthwise_conv_s4_generic()
[all …]
Darm_depthwise_conv_s16.c165 const int16_t base_idx_x = (i_out_x * stride_x) - pad_x; in depthwise_conv_s16_generic_s16() local
182 const int32_t start_x_max = (-base_idx_x + dilation_x - 1) / dilation_x; in depthwise_conv_s16_generic_s16()
184 … const int32_t end_min_x = (input_x - base_idx_x + dilation_x - 1) / dilation_x; in depthwise_conv_s16_generic_s16()
189 ker_x_start = MAX(0, -base_idx_x); in depthwise_conv_s16_generic_s16()
190 ker_x_end = MIN(kernel_x, input_x - base_idx_x); in depthwise_conv_s16_generic_s16()
216 const int32_t idx_x = base_idx_x + dilation_x * i_ker_x; in depthwise_conv_s16_generic_s16()
Darm_depthwise_conv_s8.c193 const int16_t base_idx_x = (i_out_x * stride_x) - pad_x; in depthwise_conv_s8_generic() local
208 const int32_t start_x_max = (-base_idx_x + dilation_x - 1) / dilation_x; in depthwise_conv_s8_generic()
210 … const int32_t end_min_x = (input_x - base_idx_x + dilation_x - 1) / dilation_x; in depthwise_conv_s8_generic()
215 ker_x_start = MAX(0, -base_idx_x); in depthwise_conv_s8_generic()
216 ker_x_end = MIN(kernel_x, input_x - base_idx_x); in depthwise_conv_s8_generic()
242 const int32_t idx_x = base_idx_x + dilation_x * i_ker_x; in depthwise_conv_s8_generic()
Darm_convolve_s4.c110 const int32_t base_idx_x = stride_x * i_out_x - pad_x; in arm_convolve_s4() local
118 const int32_t k_x = base_idx_x + dilation_x * i_ker_x; in arm_convolve_s4()
194 const int32_t base_idx_x = stride_x * i_out_x - pad_x; in arm_convolve_s4()
202 const int32_t k_x = base_idx_x + dilation_x * i_ker_x; in arm_convolve_s4()
Darm_depthwise_conv_s8_opt.c115 … for (int i_out_x = 0, base_idx_x = -pad_x; i_out_x < output_x; base_idx_x += stride_x, i_out_x++) in arm_depthwise_conv_s8_opt() local
119 for (int i_ker_x = base_idx_x; i_ker_x < base_idx_x + kernel_x; i_ker_x++) in arm_depthwise_conv_s8_opt()
225 const int16_t base_idx_x = (i_out_x * stride_x) - pad_x; in arm_depthwise_conv_s8_opt() local
246 const int32_t idx_x = base_idx_x + i_ker_x; in arm_depthwise_conv_s8_opt()
Darm_depthwise_conv_fast_s16.c112 … for (int i_out_x = 0, base_idx_x = -pad_x; i_out_x < output_x; base_idx_x += stride_x, i_out_x++) in arm_depthwise_conv_fast_s16() local
116 for (int i_ker_x = base_idx_x; i_ker_x < base_idx_x + kernel_x; i_ker_x++) in arm_depthwise_conv_fast_s16()
236 const int16_t base_idx_x = (i_out_x * stride_x) - pad_x; in arm_depthwise_conv_fast_s16() local
257 const int32_t idx_x = base_idx_x + i_ker_x; in arm_depthwise_conv_fast_s16()
Darm_depthwise_conv_s4_opt.c116 … for (int i_out_x = 0, base_idx_x = -pad_x; i_out_x < output_x; base_idx_x += stride_x, i_out_x++) in arm_depthwise_conv_s4_opt() local
120 for (int i_ker_x = base_idx_x; i_ker_x < base_idx_x + kernel_x; i_ker_x++) in arm_depthwise_conv_s4_opt()
267 const int16_t base_idx_x = (i_out_x * stride_x) - pad_x; in arm_depthwise_conv_s4_opt() local
288 const int32_t idx_x = base_idx_x + i_ker_x; in arm_depthwise_conv_s4_opt()
Darm_convolve_s16.c109 const int32_t base_idx_x = stride_x * i_out_x - pad_x; in arm_convolve_s16() local
117 const int32_t k_x = base_idx_x + dilation_x * i_ker_x; in arm_convolve_s16()
Darm_convolve_s8.c134 const int32_t base_idx_x = stride_x * i_out_x - pad_x; in arm_convolve_s8() local
142 const int32_t k_x = base_idx_x + dilation_x * i_ker_x; in arm_convolve_s8()
/cmsis-nn-latest/Source/PoolingFunctions/
Darm_max_pool_s16.c182 for (int i_x = 0, base_idx_x = -pad_x; i_x < output_x; base_idx_x += stride_x, i_x++) in arm_max_pool_s16() local
186 const int32_t ker_x_start = MAX(0, -base_idx_x); in arm_max_pool_s16()
190 const int32_t kernel_x_end = MIN(kernel_x, input_x - base_idx_x); in arm_max_pool_s16()
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.c198 for (int i_x = 0, base_idx_x = -pad_x; i_x < output_x; base_idx_x += stride_x, i_x++) in arm_max_pool_s8() local
202 const int32_t ker_x_start = MAX(0, -base_idx_x); in arm_max_pool_s8()
206 const int32_t kernel_x_end = MIN(kernel_x, input_x - base_idx_x); in arm_max_pool_s8()
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()
Darm_avgpool_s16.c278 for (int i_x = 0, base_idx_x = -pad_x; i_x < output_x; base_idx_x += stride_x, i_x++) in arm_avgpool_s16() local
282 const int32_t ker_x_start = MAX(0, -base_idx_x); in arm_avgpool_s16()
286 const int32_t kernel_x_end = MIN(kernel_x, input_x - base_idx_x); in arm_avgpool_s16()
297 … sum += src[i_ch_in + ch_src * (k_x + base_idx_x + (k_y + base_idx_y) * input_x)]; in arm_avgpool_s16()