Home
last modified time | relevance | path

Searched refs:padding_left (Results 1 – 25 of 108) sorted by relevance

12345

/external/XNNPACK/test/
Df32-dwconv2d-chw.cc29 .padding_left(1) in TEST()
45 .padding_left(1) in TEST()
62 .padding_left(1) in TEST()
79 .padding_left(1) in TEST()
97 .padding_left(1) in TEST()
117 .padding_left(1) in TEST()
133 .padding_left(1) in TEST()
150 .padding_left(1) in TEST()
167 .padding_left(1) in TEST()
185 .padding_left(1) in TEST()
[all …]
Df16-dwconv2d-chw.cc29 .padding_left(1) in TEST()
45 .padding_left(1) in TEST()
62 .padding_left(1) in TEST()
79 .padding_left(1) in TEST()
97 .padding_left(1) in TEST()
117 .padding_left(1) in TEST()
133 .padding_left(1) in TEST()
150 .padding_left(1) in TEST()
167 .padding_left(1) in TEST()
185 .padding_left(1) in TEST()
[all …]
Dunpooling-nhwc.cc31 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
37 .padding_left(padding_left) in TEST()
106 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
114 .padding_left(padding_left) in TEST()
179 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
Dargmax-pooling-operator-tester.h26 assert(padding_left() == 0); in padding_tf_same()
85 inline ArgmaxPoolingOperatorTester& padding_left(uint32_t padding_left) { in padding_left() function
87 this->padding_left_ = padding_left; in padding_left()
91 inline uint32_t padding_left() const { in padding_left() function
226 const size_t padded_input_width = padding_left() + input_width() + padding_right(); in output_width()
303 const size_t padded_next_input_width = padding_left() + next_input_width() + padding_right(); in next_output_width()
350 …const size_t ix_top_left = std::max<size_t>(ox * pooling_width(), padding_left()) - padding_left(); in TestF32()
357 const size_t ix = ox * pooling_width() + px - padding_left(); in TestF32()
381 padding_tf_same() ? 0 : padding_bottom(), padding_tf_same() ? 0 : padding_left(), in TestF32()
447 …const size_t ix_top_left = std::max<size_t>(ox * pooling_width(), padding_left()) - padding_left(); in TestSetupF32()
[all …]
Dmax-pooling-2d.cc48 padding_left = std::uniform_int_distribution<uint32_t>(0, pooling_width - 1)(rng); in MaxPooling2DTestBase()
60 padding_left + input_width + padding_right, pooling_width, dilation_width, stride_width); in MaxPooling2DTestBase()
86 uint32_t padding_left; member in MaxPooling2DTestBase
139 …subgraph, padding_top, padding_right, padding_bottom, padding_left, pooling_height, pooling_width,… in TEST_F()
149 ASSERT_EQ(node->params.pooling_2d.padding_left, padding_left); in TEST_F()
190 …subgraph, padding_top, padding_right, padding_bottom, padding_left, pooling_height, pooling_width,… in TEST_F()
201 ASSERT_EQ(node->params.pooling_2d.padding_left, padding_left); in TEST_F()
242 …subgraph, padding_top, padding_right, padding_bottom, padding_left, pooling_height, pooling_width,… in TEST_F()
252 ASSERT_EQ(node->params.pooling_2d.padding_left, padding_left); in TEST_F()
284 …padding_top, padding_right, padding_bottom, padding_left, pooling_height, pooling_width, stride_he… in TEST_F()
[all …]
Dunpooling-operator-tester.h79 inline UnpoolingOperatorTester& padding_left(uint32_t padding_left) { in padding_left() argument
80 this->padding_left_ = padding_left; in padding_left()
84 inline uint32_t padding_left() const { in padding_left() function
177 const size_t padding_width = padding_left() + padding_right(); in output_width()
253 const size_t padding_width = padding_left() + padding_right(); in next_output_width()
305 …std::min<size_t>(std::max<size_t>(ix * pooling_width() + px, padding_left()) - padding_left(), out… in TestX32()
319 padding_top(), padding_right(), padding_bottom(), padding_left(), in TestX32()
386 …std::min<size_t>(std::max<size_t>(ix * pooling_width() + px, padding_left()) - padding_left(), out… in TestSetupX32()
400 padding_top(), padding_right(), padding_bottom(), padding_left(), in TestSetupX32()
447 …std::min<size_t>(std::max<size_t>(ix * pooling_width() + px, padding_left()) - padding_left(), nex… in TestSetupX32()
Daverage-pooling-nhwc.cc93 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
98 .padding_left(padding_left) in TEST()
108 .padding_left(padding_left) in TEST()
464 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
470 .padding_left(padding_left) in TEST()
481 .padding_left(padding_left) in TEST()
855 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
860 .padding_left(padding_left) in TEST()
870 .padding_left(padding_left) in TEST()
1226 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
[all …]
Dunpooling-2d.cc44 …output_width = xnn_compute_unpooling_output_dimension(input_width, padding_left + padding_right, p… in Unpooling2DTestBase()
72 const uint32_t padding_left = 0; member in Unpooling2DTestBase
126 … subgraph, padding_top, padding_right, padding_bottom, padding_left, pooling_height, in TEST_F()
137 ASSERT_EQ(node->params.pooling_2d.padding_left, padding_left); in TEST_F()
161 …padding_top, padding_right, padding_bottom, padding_left, pooling_height, pooling_width, channels,… in TEST_F()
206 … subgraph, padding_top, padding_right, padding_bottom, padding_left, pooling_height, in TEST_F()
Ddeconvolution-2d.cc55 …input_width, padding_left + padding_right, adjustment_width, kernel_width, dilation_width, upsampl… in DeconvolutionTestBase()
82 const uint32_t padding_left = 0; member in DeconvolutionTestBase
191 …subgraph, padding_top, padding_right, padding_bottom, padding_left, adjustment_height, adjustment_… in TEST_F()
203 ASSERT_EQ(node->params.deconvolution_2d.padding_left, padding_left); in TEST_F()
263 …subgraph, padding_top, padding_right, padding_bottom, padding_left, adjustment_height, adjustment_… in TEST_F()
275 ASSERT_EQ(node->params.deconvolution_2d.padding_left, padding_left); in TEST_F()
336 …subgraph, padding_top, padding_right, padding_bottom, padding_left, adjustment_height, adjustment_… in TEST_F()
348 ASSERT_EQ(node->params.deconvolution_2d.padding_left, padding_left); in TEST_F()
394 const size_t x = ox + padding_left - kx * dilation_width; in TEST_F()
434 …padding_top, padding_right, padding_bottom, padding_left, kernel_height, kernel_width, upsampling_… in TEST_F()
[all …]
Dmax-pooling-nhwc.cc36 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
42 .padding_left(padding_left) in TEST()
98 .padding_left(1) in TEST()
326 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
332 .padding_left(padding_left) in TEST()
388 .padding_left(1) in TEST()
853 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
859 .padding_left(padding_left) in TEST()
915 .padding_left(1) in TEST()
1143 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
[all …]
Ddwconv2d-microkernel-tester.h38 inline DWConv2DMicrokernelTester& padding_left(uint32_t padding_left) { in padding_left() function
39 this->padding_left_ = padding_left; in padding_left()
43 inline uint32_t padding_left() const { in padding_left() function
138 const uint32_t padded_input_width = padding_left() + input_width() + padding_right(); in output_width()
195 const size_t ix = ox * subsampling() + kx - padding_left();
272 const size_t ix = ox * subsampling() + kx - padding_left(); in Test()
Dargmax-pooling-nhwc.cc49 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
55 .padding_left(padding_left) in TEST()
217 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
223 .padding_left(padding_left) in TEST()
/external/ComputeLibrary/src/runtime/CL/functions/
DCLSpaceToBatchLayer.cpp65 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &… in configure() argument
67 …ry::get().get_compile_context(), input, block_shape_x, block_shape_y, padding_left, padding_right,… in configure()
70 …nst ICLTensor *input, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, in configure() argument
74 … ARM_COMPUTE_LOG_PARAMS(input, block_shape_x, block_shape_y, padding_left, padding_right, output); in configure()
81 …rnel->configure(compile_context, input, block_shape_x, block_shape_y, padding_left, padding_right,… in configure()
92 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &… in validate() argument
96 …paceToBatchLayerKernel::validate(input, block_shape_x, block_shape_y, padding_left, padding_right,… in validate()
/external/ComputeLibrary/src/core/CL/kernels/
DCLSpaceToBatchLayerKernel.cpp63 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &… in validate_arguments_static() argument
74 …or::compute_space_to_batch_shape(input, block_shape_x, block_shape_y, padding_left, padding_right); in validate_arguments_static()
128 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &… in configure() argument
131 …ry::get().get_compile_context(), input, block_shape_x, block_shape_y, padding_left, padding_right,… in configure()
134 …nst ICLTensor *input, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, in configure() argument
140 …ute_space_to_batch_shape(input->info(), block_shape_x, block_shape_y, padding_left, padding_right); in configure()
143 …alidate_arguments_static(input->info(), block_shape_x, block_shape_y, padding_left, padding_right,… in configure()
164 build_opts.add_option("-DPAD_LEFT_X=" + support::cpp11::to_string(padding_left.x())); in configure()
166 build_opts.add_option("-DPAD_LEFT_Y=" + support::cpp11::to_string(padding_left.y())); in configure()
180 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &… in validate() argument
[all …]
DCLSpaceToBatchLayerKernel.h76 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &…
87 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &…
110 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &…
/external/ComputeLibrary/src/core/NEON/kernels/
DNESpaceToBatchLayerKernel.cpp67 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &… in validate_arguments_static() argument
78 …or::compute_space_to_batch_shape(input, block_shape_x, block_shape_y, padding_left, padding_right); in validate_arguments_static()
109 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &… in configure() argument
114 …ute_space_to_batch_shape(input->info(), block_shape_x, block_shape_y, padding_left, padding_right); in configure()
117 …alidate_arguments_static(input->info(), block_shape_x, block_shape_y, padding_left, padding_right,… in configure()
123 _padding_left = padding_left; in configure()
136 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &… in validate() argument
139 …_ERROR(validate_arguments_static(input, block_shape_x, block_shape_y, padding_left, padding_right,… in validate()
/external/tensorflow/tensorflow/core/kernels/
Dconv_2d.h46 int padding_left = 0, int padding_right = 0) {
52 row_dilation, output_kernel, padding_left, padding_right, padding_top,
85 int padding_top, int padding_bottom, int padding_left, in operator()
91 padding_top, padding_bottom, padding_left, padding_right); in operator()
98 int padding_left, int padding_right, in operator()
103 padding_top, padding_bottom, padding_left, padding_right); in operator()
154 int padding_left, int padding_right,
160 output_kernel, padding_left, padding_right, padding_top,
167 output_kernel, padding_left, padding_right, padding_top,
177 int padding_left, int padding_right,
[all …]
/external/ComputeLibrary/src/runtime/NEON/functions/
DNESpaceToBatchLayer.cpp60 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &… in configure() argument
71 …_space_to_batch_kernel->configure(input, block_shape_x, block_shape_y, padding_left, padding_right… in configure()
81 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &… in validate() argument
84 …paceToBatchLayerKernel::validate(input, block_shape_x, block_shape_y, padding_left, padding_right,… in validate()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Druntime_single_threaded_conv2d.cc29 int64_t padding_left, int64_t padding_right, int64_t lhs_row_dilation, in __xla_cpu_runtime_EigenSingleThreadedConv2DF16() argument
36 padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_EigenSingleThreadedConv2DF16()
48 int64_t padding_top, int64_t padding_bottom, int64_t padding_left, in __xla_cpu_runtime_EigenSingleThreadedConv2DF32() argument
56 padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_EigenSingleThreadedConv2DF32()
Druntime_conv2d.cc31 int64_t padding_top, int64_t padding_bottom, int64_t padding_left, in __xla_cpu_runtime_EigenConv2DF32() argument
42 col_stride, padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_EigenConv2DF32()
54 int64_t padding_left, int64_t padding_right, int64_t lhs_row_dilation, in __xla_cpu_runtime_EigenConv2DF16() argument
64 col_stride, padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_EigenConv2DF16()
Druntime_conv2d_acl.cc35 int64_t padding_top, int64_t padding_bottom, int64_t padding_left, in ACLDepthwiseConvImpl() argument
54 col_stride, row_stride, static_cast<unsigned int>(padding_left), in ACLDepthwiseConvImpl()
135 int64_t padding_left, int64_t padding_right, in ACLGemmConvImpl() argument
157 col_stride, row_stride, static_cast<unsigned int>(padding_left), in ACLGemmConvImpl()
239 int64_t padding_top, int64_t padding_bottom, int64_t padding_left, in __xla_cpu_runtime_ACLConv2DF32() argument
254 padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_ACLConv2DF32()
263 padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_ACLConv2DF32()
275 padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_ACLConv2DF32()
Druntime_conv2d_mkl.cc59 int64_t padding_bottom, int64_t padding_left, in MKLConvImpl() argument
81 memory::dims conv1_padding_l = {ToInt(padding_top), ToInt(padding_left)}; in MKLConvImpl()
160 int64_t padding_top, int64_t padding_bottom, int64_t padding_left, in __xla_cpu_runtime_MKLConv2DF32() argument
171 padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_MKLConv2DF32()
177 col_stride, padding_top, padding_bottom, padding_left, in __xla_cpu_runtime_MKLConv2DF32()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dspace_to_batch_nd.h74 const int padding_left = in SpaceToBatchND() local
89 out_w * block_shape_width + shift_w < padding_left || in SpaceToBatchND()
90 out_w * block_shape_width + shift_w >= padding_left + input_width) { in SpaceToBatchND()
98 (out_w * block_shape_width + shift_w) - padding_left, 0); in SpaceToBatchND()
/external/ComputeLibrary/tests/validation/reference/
DSpaceToBatch.cpp55 const auto padding_left = paddings[0]; in space_to_batch() local
75 …block_height + shift_h) - padding_top)) * width_in + (outW * block_width + shift_w) - padding_left; in space_to_batch()
77 … * block_height + shift_h >= padding_top + height_in || outW * block_width + shift_w < padding_left in space_to_batch()
78 || outW * block_width + shift_w >= padding_left + width_in) in space_to_batch()
/external/ComputeLibrary/arm_compute/runtime/CL/functions/
DCLSpaceToBatchLayer.h96 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &…
107 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &…
130 …nput, const int block_shape_x, const int block_shape_y, const Size2D &padding_left, const Size2D &…

12345