Home
last modified time | relevance | path

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

1234

/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 …]
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.h27 assert(padding_left() == 0); in padding_tf_same()
86 inline ArgmaxPoolingOperatorTester& padding_left(uint32_t padding_left) { in padding_left() argument
88 this->padding_left_ = padding_left; in padding_left()
92 inline uint32_t padding_left() const { in padding_left() function
227 const size_t padded_input_width = padding_left() + input_width() + padding_right(); in output_width()
304 const size_t padded_next_input_width = padding_left() + next_input_width() + padding_right(); in next_output_width()
351 …const size_t ix_top_left = std::max<size_t>(ox * pooling_width(), padding_left()) - padding_left(); in TestF32()
358 const size_t ix = ox * pooling_width() + px - padding_left(); in TestF32()
382 padding_tf_same() ? 0 : padding_bottom(), padding_tf_same() ? 0 : padding_left(), in TestF32()
448 …const size_t ix_top_left = std::max<size_t>(ox * pooling_width(), padding_left()) - padding_left(); in TestSetupF32()
[all …]
Dunpooling-operator-tester.h79 inline UnpoolingOperatorTester& padding_left(uint32_t padding_left) { in padding_left() function
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 …_t ox = std::min(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 …_t ox = std::min(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 …_t ox = std::min(std::max<size_t>(ix * pooling_width() + px, padding_left()) - padding_left(), nex… in TestSetupX32()
Ddwconv2d-microkernel-tester.h37 inline DWConv2DMicrokernelTester& padding_left(uint32_t padding_left) { in padding_left() function
38 this->padding_left_ = padding_left; in padding_left()
42 inline uint32_t padding_left() const { in padding_left() function
137 const uint32_t padded_input_width = padding_left() + input_width() + padding_right(); in output_width()
194 const size_t ix = ox * subsampling() + kx - padding_left();
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 …]
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()
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()
852 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
858 .padding_left(padding_left) in TEST()
914 .padding_left(1) in TEST()
1142 for (size_t padding_left = 0; padding_left <= 1; padding_left++) { in TEST() local
[all …]
Daverage-pooling-operator-tester.h31 assert(padding_left() == 0); in padding_tf_same()
91 inline AveragePoolingOperatorTester& padding_left(uint32_t padding_left) { in padding_left() argument
93 this->padding_left_ = padding_left; in padding_left()
97 inline uint32_t padding_left() const { in padding_left() function
274 const size_t padded_input_width = padding_left() + input_width() + padding_right(); in output_width()
359 const size_t padded_next_input_width = padding_left() + next_input_width() + padding_right(); in next_output_width()
470 const size_t ix = ox * stride_width() + px - padding_left(); in TestQU8()
492 padding_top(), padding_right(), padding_bottom(), padding_left(), in TestQU8()
554 const size_t ix = ox * stride_width() + px - padding_left(); in TestF32()
589 padding_top(), padding_right(), padding_bottom(), padding_left(), in TestF32()
[all …]
Dmax-pooling-operator-tester.h30 assert(padding_left() == 0); in padding_tf_same()
90 inline MaxPoolingOperatorTester& padding_left(uint32_t padding_left) { in padding_left() function
92 this->padding_left_ = padding_left; in padding_left()
96 inline uint32_t padding_left() const { in padding_left() function
316 const size_t padded_input_width = padding_left() + input_width() + padding_right(); in output_width()
401 const size_t padded_next_input_width = padding_left() + next_input_width() + padding_right(); in next_output_width()
471 const size_t ix = ox * stride_width() + px * dilation_width() - padding_left(); in TestU8()
493 padding_tf_same() ? 0 : padding_bottom(), padding_tf_same() ? 0 : padding_left(), in TestU8()
554 const size_t ix = ox * stride_width() + px * dilation_width() - padding_left(); in TestF32()
590 padding_tf_same() ? 0 : padding_bottom(), padding_tf_same() ? 0 : padding_left(), in TestF32()
[all …]
Dconv-hwc2chw-microkernel-tester.h90 inline ConvHWC2CHWMicrokernelTester& padding_left(uint32_t padding_left) { in padding_left() function
91 this->padding_left_ = padding_left; in padding_left()
95 inline uint32_t padding_left() const { in padding_left() function
255 const size_t padded_input_width = padding_left() + input_width() + padding_right(); in output_width()
334 const size_t ix = ox * subsampling_width() + kx - padding_left();
Ddeconvolution-nhwc.cc621 for (size_t padding_left = 0; padding_left <= 2; padding_left++) { variable
626 .padding_left(padding_left)
942 for (size_t padding_left = 0; padding_left <= 2; padding_left++) { in TEST() local
947 .padding_left(padding_left) in TEST()
1281 for (size_t padding_left = 0; padding_left <= 2; padding_left++) { in TEST() local
1287 .padding_left(padding_left) in TEST()
1624 for (size_t padding_left = 0; padding_left <= 2; padding_left++) { in TEST() local
1630 .padding_left(padding_left) in TEST()
2057 for (size_t padding_left = 0; padding_left <= 2; padding_left++) { variable
2062 .padding_left(padding_left)
[all …]
Dconv-hwc-microkernel-tester.h90 inline ConvHWCMicrokernelTester& padding_left(uint32_t padding_left) { in padding_left() argument
91 this->padding_left_ = padding_left; in padding_left()
95 inline uint32_t padding_left() const { in padding_left() function
252 const size_t padded_input_width = padding_left() + input_width() + padding_right(); in output_width()
328 const size_t ix = ox * subsampling_width() + kx - padding_left();
/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/tensorflow/tensorflow/compiler/xla/service/cpu/
Druntime_single_threaded_conv2d.cc32 tensorflow::int64 padding_bottom, tensorflow::int64 padding_left, in __xla_cpu_runtime_EigenSingleThreadedConvF16() argument
40 padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_EigenSingleThreadedConvF16()
54 tensorflow::int64 padding_left, tensorflow::int64 padding_right, in __xla_cpu_runtime_EigenSingleThreadedConvF32() argument
61 padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_EigenSingleThreadedConvF32()
Druntime_conv2d.cc35 tensorflow::int64 padding_left, tensorflow::int64 padding_right, in __xla_cpu_runtime_EigenConvF32() argument
45 col_stride, padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_EigenConvF32()
58 tensorflow::int64 padding_bottom, tensorflow::int64 padding_left, in __xla_cpu_runtime_EigenConvF16() argument
69 col_stride, padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_EigenConvF16()
Druntime_conv2d_mkl.cc58 int64 padding_left, int64 padding_right, in MKLConvImpl() argument
79 memory::dims conv1_padding_l = {ToInt(padding_top), ToInt(padding_left)}; in MKLConvImpl()
160 int64 padding_left, int64 padding_right, int64 lhs_row_dilation, in __xla_cpu_runtime_MKLConvF32() argument
170 padding_top, padding_bottom, padding_left, padding_right, in __xla_cpu_runtime_MKLConvF32()
176 col_stride, padding_top, padding_bottom, padding_left, in __xla_cpu_runtime_MKLConvF32()
/external/XNNPACK/src/subgraph/
Dunpooling-2d.c21 uint32_t padding_left, in xnn_define_unpooling_2d() argument
81 node->params.pooling_2d.padding_left = padding_left; in xnn_define_unpooling_2d()
Ddeconvolution-2d.c21 uint32_t padding_left, in xnn_define_deconvolution_2d() argument
147 node->params.deconvolution_2d.padding_left = padding_left; in xnn_define_deconvolution_2d()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_conv_grad_input_ops.cc68 memory::dims padding_left; member
74 memory::dims dilations, memory::dims padding_left, in MklConvBwdInputParams()
83 padding_left(padding_left), in MklConvBwdInputParams()
204 convBwdInputDims.dilations, convBwdInputDims.padding_left, in Setup()
211 convBwdInputDims.padding_left, convBwdInputDims.padding_right)); in Setup()
283 key_creator.AddAsKey(convBwdInputDims.padding_left); in CreateKey()
371 memory::dims padding_left, padding_right, dilations, strides; in Compute() local
380 &padding_left, &padding_right, false, is_depthwise); in Compute()
421 native_format, dilations, padding_left, padding_right); in Compute()
Dmkl_avgpooling_op.cc84 memory::dims filter_dims, strides, padding_left, padding_right; in Compute() local
87 &padding_left, &padding_right, is_pool2d); in Compute()
114 src_dims, output_dims_mkl_order, filter_dims, strides, padding_left, in Compute()
204 memory::dims filter_dims, strides, padding_left, padding_right; in Compute() local
206 &padding_left, &padding_right, is_pool2d); in Compute()
244 strides, padding_left, padding_right, in Compute()
Dmkl_conv_grad_filter_ops.cc64 memory::dims padding_left; member
71 memory::dims dilations, memory::dims padding_left, in MklConvBwdFilterParams()
81 padding_left(padding_left), in MklConvBwdFilterParams()
235 convBwdFilterDims.padding_left, convBwdFilterDims.padding_right)); in Setup()
244 convBwdFilterDims.dilations, convBwdFilterDims.padding_left, in Setup()
251 convBwdFilterDims.padding_left, convBwdFilterDims.padding_right)); in Setup()
338 key_creator.AddAsKey(convBwdFilterDims.padding_left); in CreateKey()
419 memory::dims padding_left, padding_right, dilations, strides; in Compute() local
428 &padding_left, &padding_right, false, is_depthwise); in Compute()
468 tf_fmt, native_format, dilations, padding_left, padding_right); in Compute()
Dmkl_maxpooling_op.cc126 memory::dims filter_dims, strides, padding_left, padding_right; in Compute() local
128 &padding_left, &padding_right, is_pool2d); in Compute()
140 src_dims, output_dims_mkl_order, filter_dims, strides, padding_left, in Compute()
260 memory::dims filter_dims, strides, padding_left, padding_right; in Compute() local
262 &padding_left, &padding_right, is_pool2d); in Compute()
299 strides, padding_left, padding_right, mkldnn::algorithm::pooling_max, in Compute()
/external/XNNPACK/src/
Dindirection.c38 const size_t input_padding_left = op->padding_left; in xnn_indirection_init_conv2d()
98 const size_t padding_left = op->padding_left; in xnn_indirection_init_deconv2d() local
118 const size_t x = output_x + padding_left - kernel_x * dilation_width; in xnn_indirection_init_deconv2d()
152 const size_t padding_left = op->padding_left; in xnn_indirection_init_subconv2d() local
155 const size_t modulo_padding_left = padding_left % stride_width; in xnn_indirection_init_subconv2d()
179 assert(doz(output_x + padding_left, kernel_x) % stride_width == 0); in xnn_indirection_init_subconv2d()
180 const size_t x = output_x + padding_left - kernel_x; in xnn_indirection_init_subconv2d()
219 const size_t input_padding_left = op->padding_left; in xnn_indirection_init_dwconv2d()
269 const size_t input_padding_left = op->padding_left; in xnn_indirection_init_maxpool2d()
538 const size_t output_padding_left = op->padding_left; in xnn_indirection_init_unpool2d()
/external/tensorflow/tensorflow/core/kernels/
Dconv_2d.h36 int padding_left = 0, int padding_right = 0) {
42 row_dilation, output_kernel, padding_left, padding_right, padding_top,
62 int padding_top, int padding_bottom, int padding_left, in operator()
68 padding_top, padding_bottom, padding_left, padding_right); in operator()
93 int padding_left, int padding_right,
99 output_kernel, padding_left, padding_right, padding_top,
338 const std::array<int, NDIMS - 2>& padding_left,
346 padding_left[i], padding_right[i]};

1234