/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/ |
D | op_conv.py | 160 pad_y = pad_top 163 pad_y = 0 167 return pad_y_with_offset, pad_x_with_offset, pad_y, pad_x 169 … pad_y_with_offset, pad_x_with_offset, pad_y, pad_x = calculate_padding(x_output, y_output, params) 204 generated_params["pad_y"] = pad_y
|
/cmsis-nn-latest/Source/PoolingFunctions/ |
D | arm_avgpool_s8.c | 91 const int32_t pad_y = pool_params->padding.h; in arm_avgpool_s8() local 111 const int32_t k_y_start = MAX(0, i_y * stride_y - pad_y); in arm_avgpool_s8() 112 const int32_t k_y_end = MIN(i_y * stride_y - pad_y + kernel_y, input_y); in arm_avgpool_s8() 252 const int32_t pad_y = pool_params->padding.h; in arm_avgpool_s8() local 277 for (int i_y = 0, idx_y = -pad_y; i_y < output_y; idx_y += stride_y, i_y++) 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()
|
D | arm_avgpool_s16.c | 89 const int32_t pad_y = pool_params->padding.h; in arm_avgpool_s16() local 113 const int32_t k_y_start = MAX(0, i_y * stride_y - pad_y); in arm_avgpool_s16() 114 const int32_t k_y_end = MIN(i_y * stride_y - pad_y + kernel_y, input_y); in arm_avgpool_s16() 213 for (int i_y = 0, idx_y = -pad_y; i_y < output_y; idx_y += stride_y, i_y++) in arm_avgpool_s16() 276 for (int i_y = 0, base_idx_y = -pad_y; i_y < output_y; base_idx_y += stride_y, i_y++) in arm_avgpool_s16()
|
D | arm_max_pool_s16.c | 162 const int32_t pad_y = pool_params->padding.h; in arm_max_pool_s16() local 180 for (int i_y = 0, base_idx_y = -pad_y; i_y < output_y; base_idx_y += stride_y, i_y++) in arm_max_pool_s16()
|
D | arm_max_pool_s8.c | 179 const int32_t pad_y = pool_params->padding.h; in arm_max_pool_s8() local 196 for (int i_y = 0, base_idx_y = -pad_y; i_y < output_y; base_idx_y += stride_y, i_y++) in arm_max_pool_s8()
|
/cmsis-nn-latest/Source/ConvolutionFunctions/ |
D | arm_transpose_conv_s8.c | 83 const int32_t pad_y = transpose_conv_params->padding.h; in arm_transpose_conv_s8() local 147 const int32_t col_y = (output_y + pad_y_offset + pad_y - kernel_y) / stride_y + 1; in arm_transpose_conv_s8() 151 for (int i_col_y = 0, i_pad_y = -pad_y; i_col_y < col_y; i_col_y++, i_pad_y += stride_y) in arm_transpose_conv_s8()
|
D | arm_depthwise_conv_s16.c | 53 const int32_t pad_y, in depthwise_conv_s16_mult_4_s16() argument 65 for (int32_t in_h = -pad_y, out_h = 0, out_idx = 0; out_h < output_y; in_h += stride_y, ++out_h) in depthwise_conv_s16_mult_4_s16() 143 const uint16_t pad_y, in depthwise_conv_s16_generic_s16() argument 162 const int16_t base_idx_y = (i_out_y * stride_y) - pad_y; in depthwise_conv_s16_generic_s16()
|
D | arm_depthwise_conv_s8.c | 57 const int32_t pad_y, in depthwise_conv_s8_mult_4() argument 76 for (int32_t in_h = -pad_y, out_h = 0; out_h < output_y; in_h += stride_y, ++out_h) in depthwise_conv_s8_mult_4() 165 const uint16_t pad_y, in depthwise_conv_s8_generic() argument 190 const int16_t base_idx_y = (i_out_y * stride_y) - pad_y; in depthwise_conv_s8_generic()
|
D | arm_convolve_s4.c | 81 const uint16_t pad_y = conv_params->padding.h; in arm_convolve_s4() local 111 const int32_t base_idx_y = stride_y * i_out_y - pad_y; in arm_convolve_s4() 195 const int32_t base_idx_y = stride_y * i_out_y - pad_y; in arm_convolve_s4()
|
D | arm_convolve_s16.c | 84 const int32_t pad_y = conv_params->padding.h; in arm_convolve_s16() local 110 const int32_t base_idx_y = stride_y * i_out_y - pad_y; in arm_convolve_s16()
|
D | arm_convolve_s8.c | 81 const uint16_t pad_y = conv_params->padding.h; in arm_convolve_s8() local 135 const int32_t base_idx_y = stride_y * i_out_y - pad_y; in arm_convolve_s8()
|
D | arm_depthwise_conv_s8_opt.c | 83 const int32_t pad_y = dw_conv_params->padding.h; in arm_depthwise_conv_s8_opt() local 113 … for (int i_out_y = 0, base_idx_y = -pad_y; i_out_y < output_y; base_idx_y += stride_y, i_out_y++) in arm_depthwise_conv_s8_opt() 222 const int16_t base_idx_y = (i_out_y * stride_y) - pad_y; in arm_depthwise_conv_s8_opt()
|
D | arm_depthwise_conv_fast_s16.c | 90 const int32_t pad_y = dw_conv_params->padding.h; in arm_depthwise_conv_fast_s16() local 110 … for (int i_out_y = 0, base_idx_y = -pad_y; i_out_y < output_y; base_idx_y += stride_y, i_out_y++) in arm_depthwise_conv_fast_s16() 233 const int16_t base_idx_y = (i_out_y * stride_y) - pad_y; in arm_depthwise_conv_fast_s16()
|
D | arm_depthwise_conv_s4.c | 54 const int32_t pad_y, in depthwise_conv_s4_generic() argument 82 const int16_t base_idx_y = (i_out_y * stride_y) - pad_y; in depthwise_conv_s4_generic() 373 const int16_t base_idx_y = (i_out_y * stride_y) - pad_y; in depthwise_conv_s4_generic()
|
D | arm_depthwise_conv_3x3_s8.c | 72 const int32_t pad_y = dw_conv_params->padding.h; in arm_depthwise_conv_3x3_s8() local 95 for (int32_t in_h = -pad_y, out_h = 0, out_idx = 0; out_h < output_y; in_h += stride_y, ++out_h) in arm_depthwise_conv_3x3_s8()
|
D | arm_depthwise_conv_s4_opt.c | 84 const int32_t pad_y = dw_conv_params->padding.h; in arm_depthwise_conv_s4_opt() local 114 … for (int i_out_y = 0, base_idx_y = -pad_y; i_out_y < output_y; base_idx_y += stride_y, i_out_y++) in arm_depthwise_conv_s4_opt() 264 const int16_t base_idx_y = (i_out_y * stride_y) - pad_y; in arm_depthwise_conv_s4_opt()
|
/cmsis-nn-latest/Tests/UnitTest/ |
D | model_extractor.py | 118 f.write("#define {}_PAD_Y {}\n".format(prefix, self.pad_y)) 120 f.write("#define {}_PAD_H {}\n".format(prefix, self.pad_y))
|
D | test_settings.py | 329 f.write("#define {}_PAD_Y {}\n".format(prefix, self.pad_y)) 418 self.pad_y = pad_top 421 self.pad_y = 0
|