Home
last modified time | relevance | path

Searched refs:padding_height (Results 1 – 24 of 24) sorted by relevance

/external/XNNPACK/test/
Dunpooling-operator-tester.h32 inline UnpoolingOperatorTester& padding(uint32_t padding_height, uint32_t padding_width) { in padding() argument
33 this->padding_top_ = padding_height; in padding()
35 this->padding_bottom_ = padding_height; in padding()
40 inline UnpoolingOperatorTester& padding_height(uint32_t padding_height) { in padding_height() argument
41 this->padding_top_ = padding_height; in padding_height()
42 this->padding_bottom_ = padding_height; in padding_height()
172 const size_t padding_height = padding_top() + padding_bottom(); in output_height() local
173 return std::max<size_t>(input_height() * pooling_height(), padding_height) - padding_height; in output_height()
248 const size_t padding_height = padding_top() + padding_bottom(); in next_output_height() local
249 … return std::max<size_t>(next_input_height() * pooling_height(), padding_height) - padding_height; in next_output_height()
Dconv-hwc-microkernel-tester.h51 inline ConvHWCMicrokernelTester& padding_height(uint32_t padding_height) { in padding_height() function
52 this->padding_top_ = padding_height; in padding_height()
53 this->padding_bottom_ = padding_height; in padding_height()
Dconv-hwc2spchw-microkernel-tester.h51 inline ConvHWC2SpCHWMicrokernelTester& padding_height(uint32_t padding_height) { in padding_height() argument
52 this->padding_top_ = padding_height; in padding_height()
53 this->padding_bottom_ = padding_height; in padding_height()
Ddeconvolution-nhwc.cc592 .padding_height(1)
625 .padding_height(1)
883 .padding_height(1) in TEST()
918 .padding_height(1) in TEST()
1193 .padding_height(1) in TEST()
1228 .padding_height(1) in TEST()
1504 .padding_height(1) in TEST()
1541 .padding_height(1) in TEST()
1874 .padding_height(1)
1941 .padding_height(1)
[all …]
Dmax-pooling-operator-tester.h35 inline MaxPoolingOperatorTester& padding(uint32_t padding_height, uint32_t padding_width) { in padding() argument
36 this->padding_top_ = padding_height; in padding()
38 this->padding_bottom_ = padding_height; in padding()
43 inline MaxPoolingOperatorTester& padding_height(uint32_t padding_height) { in padding_height() function
44 this->padding_top_ = padding_height; in padding_height()
45 this->padding_bottom_ = padding_height; in padding_height()
Daverage-pooling-operator-tester.h35 inline AveragePoolingOperatorTester& padding(uint32_t padding_height, uint32_t padding_width) { in padding() argument
36 this->padding_top_ = padding_height; in padding()
38 this->padding_bottom_ = padding_height; in padding()
43 inline AveragePoolingOperatorTester& padding_height(uint32_t padding_height) { in padding_height() argument
44 this->padding_top_ = padding_height; in padding_height()
45 this->padding_bottom_ = padding_height; in padding_height()
Ddeconvolution-operator-tester.h35 inline DeconvolutionOperatorTester& padding(uint32_t padding_height, uint32_t padding_width) { in padding() argument
36 this->padding_top_ = padding_height; in padding()
38 this->padding_bottom_ = padding_height; in padding()
43 inline DeconvolutionOperatorTester& padding_height(uint32_t padding_height) { in padding_height() argument
44 this->padding_top_ = padding_height; in padding_height()
45 this->padding_bottom_ = padding_height; in padding_height()
49 inline uint32_t padding_height() const { in padding_height() function
329 …height() * (input_height() - 1) + adjustment_height() + dilated_kernel_height() - padding_height(); in output_height()
373 …t() * (next_input_height() - 1) + adjustment_height() + dilated_kernel_height() - padding_height(); in next_output_height()
Dargmax-pooling-operator-tester.h32 inline ArgmaxPoolingOperatorTester& padding_height(uint32_t padding_height) { in padding_height() function
33 this->padding_top_ = padding_height; in padding_height()
34 this->padding_bottom_ = padding_height; in padding_height()
Dconvolution-operator-tester.h51 inline ConvolutionOperatorTester& padding(uint32_t padding_height, uint32_t padding_width) { in padding() argument
53 this->padding_top_ = padding_height; in padding()
55 this->padding_bottom_ = padding_height; in padding()
60 inline ConvolutionOperatorTester& padding_height(uint32_t padding_height) { in padding_height() function
62 this->padding_top_ = padding_height; in padding_height()
63 this->padding_bottom_ = padding_height; in padding_height()
Dconvolution-nhwc.cc199 .padding_height(1)
210 .padding_height(1) in TEST()
1437 .padding_height(1)
1448 .padding_height(1) in TEST()
Df32-conv-hwc.cc965 .padding_height(1) in TEST()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Doperations.cc347 int32_t padding_height = CalculateSamePadding<Axis::HEIGHT>(input, attr); in MakeSamePadding() local
350 padding.prepended = HW(padding_height / 2, padding_width / 2); in MakeSamePadding()
351 padding.appended = HW(padding_height - padding_height / 2, in MakeSamePadding()
358 int32_t padding_height = CalculateSamePadding<Axis::HEIGHT>(input, attr); in MakeSamePadding() local
363 HWD(padding_height / 2, padding_width / 2, padding_depth / 2); in MakeSamePadding()
365 HWD(padding_height - padding_height / 2, in MakeSamePadding()
373 int32_t padding_height = CalculateSamePadding<Axis::HEIGHT>(input, attr); in MakeSamePadding() local
376 padding.prepended = HW(padding_height / 2, padding_width / 2); in MakeSamePadding()
377 padding.appended = HW(padding_height - padding_height / 2, in MakeSamePadding()
385 int32_t padding_height = CalculateSamePadding<Axis::HEIGHT>(input, attr); in MakeSamePadding() local
[all …]
/external/XNNPACK/bench/
Df32-dwconv-spchw.cc41 const size_t padding_height = state.range(4); in DWConvCHWBenchmark() local
78 …const size_t output_height = (input_height + padding_height - effective_kernel_height) / subsampli… in DWConvCHWBenchmark()
81 const size_t inputSize = (input_height + padding_height) * input_width; in DWConvCHWBenchmark()
158 const size_t padding_height = state.range(4); in DWConvHWoTCTBenchmark() local
195 …const size_t output_height = (input_height + padding_height - effective_kernel_height) / subsampli… in DWConvHWoTCTBenchmark()
198 const size_t inputSize = (input_height + padding_height) * input_width; in DWConvHWoTCTBenchmark()
Dconvolution.cc46 const size_t padding_height = state.range(5); in xnnpack_convolution_q8() local
64 const size_t padding_top = padding_height / 2; in xnnpack_convolution_q8()
66 const size_t padding_bottom = padding_height - padding_top; in xnnpack_convolution_q8()
67 …const size_t output_height = (input_height + padding_height - effective_kernel_height) / subsampli… in xnnpack_convolution_q8()
164 const size_t padding_height = state.range(5); in xnnpack_convolution_f32() local
181 const size_t padding_top = padding_height / 2; in xnnpack_convolution_f32()
183 const size_t padding_bottom = padding_height - padding_top; in xnnpack_convolution_f32()
184 …const size_t output_height = (input_height + padding_height - effective_kernel_height) / subsampli… in xnnpack_convolution_f32()
279 const size_t padding_height = state.range(5); in tflite_convolution_f32() local
305 …if (padding_width == (effective_kernel_width - 1) && padding_height == (effective_kernel_height - … in tflite_convolution_f32()
[all …]
Df32-im2col-gemm.cc41 const size_t padding_height = state.range(4); in Im2ColGEMMBenchmark() local
55 const size_t padding_top = padding_height / 2; in Im2ColGEMMBenchmark()
56 …const size_t output_height = (input_height + padding_height - effective_kernel_height) / subsampli… in Im2ColGEMMBenchmark()
Df32-dwconv.cc45 const size_t padding_height = state.range(4); in DWConvBenchmark() local
64 const size_t padding_top = padding_height / 2; in DWConvBenchmark()
65 …const size_t output_height = (input_height + padding_height - effective_kernel_height) / subsampli… in DWConvBenchmark()
Df32-igemm.cc45 const size_t padding_height = state.range(4); in IGEMMBenchmark() local
61 const size_t padding_top = padding_height / 2; in IGEMMBenchmark()
62 …const size_t output_height = (input_height + padding_height - effective_kernel_height) / subsampli… in IGEMMBenchmark()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis-nn/
Dpooling.cc127 const int padding_height = data->padding.height; in AverageEvalInt8() local
140 padding_height, padding_width, activation_min, in AverageEvalInt8()
/external/tensorflow/tensorflow/core/kernels/
Dmkl_fused_ops_test.cc507 const int padding_height = 4; in TEST_F() local
509 Tensor padding(DT_INT32, {padding_height, padding_width}); in TEST_F()
535 const int padding_height = 4; in TEST_F() local
537 Tensor padding(DT_INT32, {padding_height, padding_width}); in TEST_F()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd_enc.h161 uint32_t padding_height; member
Dradeon_vcn_enc_1_2.c97 enc->enc_pic.session_init.padding_height = in radeon_enc_session_init()
107 RADEON_ENC_CS(enc->enc_pic.session_init.padding_height); in radeon_enc_session_init()
120 enc->enc_pic.session_init.padding_height = in radeon_enc_session_init_hevc()
130 RADEON_ENC_CS(enc->enc_pic.session_init.padding_height); in radeon_enc_session_init_hevc()
Dradeon_vcn_enc.h159 uint32_t padding_height; member
Dradeon_uvd_enc_1_1.c226 enc->enc_pic.session_init.padding_height = in radeon_uvd_enc_session_init_hevc()
235 RADEON_ENC_CS(enc->enc_pic.session_init.padding_height); in radeon_uvd_enc_session_init_hevc()
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_impl.py1512 padding_height = (f_target_height - resized_height_float) / 2
1514 f_padding_height = math_ops.floor(padding_height)