Home
last modified time | relevance | path

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

/external/XNNPACK/test/
Dargmax-pooling-operator-tester.h79 const uint32_t total_padding_height = output_height() * pooling_height() - input_height(); in padding_top() local
80 return total_padding_height / 2; in padding_top()
109 const uint32_t total_padding_height = output_height() * pooling_height() - input_height(); in padding_bottom() local
110 return total_padding_height - total_padding_height / 2; in padding_bottom()
Daverage-pooling-operator-tester.h83 const uint32_t total_padding_height = in padding_top() local
85 return total_padding_height / 2; in padding_top()
115 const uint32_t total_padding_height = in padding_bottom() local
117 return total_padding_height - total_padding_height / 2; in padding_bottom()
Dmax-pooling-operator-tester.h82 const uint32_t total_padding_height = in padding_top() local
84 return total_padding_height / 2; in padding_top()
114 const uint32_t total_padding_height = in padding_bottom() local
116 return total_padding_height - total_padding_height / 2; in padding_bottom()
Dconvolution-operator-tester.h85 const uint32_t total_padding_height = in padding_top() local
87 return total_padding_height / 2; in padding_top()
117 const uint32_t total_padding_height = in padding_bottom() local
119 return total_padding_height - total_padding_height / 2; in padding_bottom()
/external/XNNPACK/src/operators/
Dmax-pooling-nhwc.c238 const uint32_t total_padding_height = in setup_max_pooling2d_nhwc() local
242 max_pooling_op->padding_top = total_padding_height / 2; in setup_max_pooling2d_nhwc()
244 max_pooling_op->padding_bottom = total_padding_height - max_pooling_op->padding_top; in setup_max_pooling2d_nhwc()
Daverage-pooling-nhwc.c456 const uint32_t total_padding_height = in setup_average_pooling2d() local
460 average_pooling_op->padding_top = total_padding_height / 2; in setup_average_pooling2d()
462 average_pooling_op->padding_bottom = total_padding_height - average_pooling_op->padding_top; in setup_average_pooling2d()
Ddeconvolution-nhwc.c830 …const size_t total_padding_height = doz(dilated_kernel_height_minus_1, (input_height - 1) % deconv… in setup_deconvolution2d_nhwc() local
833 const uint32_t padding_top = deconvolution_op->padding_top = total_padding_height / 2; in setup_deconvolution2d_nhwc()
835 deconvolution_op->padding_bottom = total_padding_height - padding_top; in setup_deconvolution2d_nhwc()
Dconvolution-nhwc.c819 const size_t total_padding_height = in setup_convolution2d_nhwc() local
823 convolution_op->padding_top = total_padding_height / 2; in setup_convolution2d_nhwc()
825 convolution_op->padding_bottom = total_padding_height - convolution_op->padding_top; in setup_convolution2d_nhwc()