Home
last modified time | relevance | path

Searched refs:padding_ (Results 1 – 25 of 38) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Davgpooling_op.cc70 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in AvgPoolingOp()
79 padding_, data_format_, tensor_in.shape()}; in Compute()
95 SpatialAvgPool<Device, T>(context, output, tensor_in, params, padding_); in Compute()
101 Padding padding_; member in tensorflow::AvgPoolingOp
133 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in AvgPoolingOp()
144 padding_, data_format_, tensor_in.shape()}; in Compute()
160 stride_, padding_, data_format_, tensor_in, in Compute()
167 Eigen::PaddingType pt = BrainPadding2EigenPadding(padding_); in Compute()
178 Padding padding_; member in tensorflow::AvgPoolingOp
236 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in AvgPoolingGradOp()
[all …]
Dextract_volume_patches_op.cc64 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in ExtractVolumePatchesOp()
113 padding_, &out_planes, &pad_planes)); in Compute()
116 padding_, &out_rows, &pad_rows)); in Compute()
119 padding_, &out_cols, &pad_cols)); in Compute()
138 BrainPadding2EigenPadding(padding_), output->tensor<T, 5>()); in Compute()
146 Padding padding_; member in tensorflow::ExtractVolumePatchesOp
Dmaxpooling_op.cc243 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in MaxPoolingGradOp()
299 padding_, FORMAT_NHWC, tensor_in.shape()}; in Compute()
316 Padding padding_; member in tensorflow::MaxPoolingGradOp
371 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in MaxPoolingGradOp()
421 ksize, stride, padding_, data_format_, in Compute()
427 MaxPoolingBackwardCustomKernel<T>(context, ksize, stride, padding_, in Compute()
435 Padding padding_; member in tensorflow::MaxPoolingGradOp
464 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in MaxPoolingGradGradOp()
528 padding_, FORMAT_NHWC, tensor_in.shape()}; in Compute()
534 out_grad_backprop, params, padding_); in Compute()
[all …]
Dmirror_pad_op.h114 : impl_(op.expression(), device), padding_(op.padding()) {
127 eigen_assert(padding_[dim].first + op.offset() <= dimensions_[dim]);
128 eigen_assert(padding_[dim].second + op.offset() <= dimensions_[dim]);
129 dimensions_[dim] += padding_[dim].first + padding_[dim].second;
193 if (padding_[k].first != 0 || padding_[k].second != 0) {
200 if (padding_[k].first != 0 || padding_[k].second != 0) {
217 const Index left = padding_[dim].first * output_strides_[dim];
219 (dimensions_[dim] - padding_[dim].second) * output_strides_[dim];
283 k -= padding_[dim].first;
324 PaddingDimensions padding_;
Dextract_image_patches_op.cc58 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in ExtractImagePatchesOp()
90 padding_, &out_rows, &pad_rows)); in Compute()
93 padding_, &out_cols, &pad_cols)); in Compute()
110 BrainPadding2EigenPadding(padding_), output->tensor<T, 4>()); in Compute()
118 Padding padding_; member in tensorflow::ExtractImagePatchesOp
Dconv_grad_ops_3d.cc213 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in Conv3DBackpropInputOp()
236 stride_, padding_, data_format_, &dims)); in Compute()
255 Padding padding_; member in tensorflow::Conv3DBackpropInputOp
319 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in Conv3DCustomBackpropInputOp()
342 stride_, padding_, data_format_, &dims)); in Compute()
355 dims.spatial_dims[0].stride, padding_, in Compute()
361 dims.spatial_dims[1].stride, padding_, in Compute()
367 dims.spatial_dims[2].stride, padding_, in Compute()
575 Padding padding_; member in tensorflow::Conv3DCustomBackpropInputOp
669 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in Conv3DBackpropFilterOp()
[all …]
Dquantized_pooling_ops.cc49 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in QuantizedAvgPoolingOp()
58 padding_, FORMAT_NHWC, tensor_in.shape()}; in Compute()
86 padding_); in Compute()
105 Padding padding_; member in tensorflow::QuantizedAvgPoolingOp
Ddilation_ops.cc118 ParseAttributes(context, &strides_, &rates_, &padding_); in DilationOp()
130 ParseSizes(context, strides_, rates_, padding_, &stride_rows, &stride_cols, in Compute()
157 Padding padding_; member in tensorflow::DilationOp
216 ParseAttributes(context, &strides_, &rates_, &padding_); in DilationBackpropInputOp()
229 ParseSizes(context, strides_, rates_, padding_, &stride_rows, &stride_cols, in Compute()
264 Padding padding_; member in tensorflow::DilationBackpropInputOp
336 ParseAttributes(context, &strides_, &rates_, &padding_); in DilationBackpropFilterOp()
349 ParseSizes(context, strides_, rates_, padding_, &stride_rows, &stride_cols, in Compute()
384 Padding padding_; member in tensorflow::DilationBackpropFilterOp
Dconv_ops_gpu.h100 padding_(CheckSpatialArraySize(padding)), in ConvParameters()
134 "(", str_util::Join(padding_, ", "), "), ", in ToString()
164 filter_, dilation_, stride_, padding_, dtype_, in get_data_as_tuple()
199 SpatialArray padding_; variable
Dmkl_conv_ops.h55 Padding padding_; variable
65 padding_(pad), in context_()
403 padding_type = padding_;
416 padding_, &out_planes, &pad_D1, &pad_D2));
419 padding_, &out_rows, &pad_top, &pad_bottom));
422 padding_, &out_cols, &pad_left, &pad_right));
596 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in MklConvBackpropCommonOp()
603 Padding padding_; variable
Dpooling_ops_3d.cc153 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in Pooling3DOp()
188 padding_, &out, &padding)); in Compute()
195 padding, data_format_, padding_, in Compute()
202 Padding padding_; member in tensorflow::Pooling3DOp
326 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in MaxPooling3dGradOp()
367 padding_, &out, &padding)); in Compute()
376 Padding padding_; member in tensorflow::MaxPooling3dGradOp
480 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in AvgPooling3dGradOp()
527 padding_, &out, &padding)); in Compute()
537 Padding padding_; member in tensorflow::AvgPooling3dGradOp
[all …]
Dconv_grad_input_ops.cc288 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in Conv2DCustomBackpropInputOp()
303 context, padding_ != Padding::EXPLICIT, in Conv2DCustomBackpropInputOp()
309 OP_REQUIRES_OK(context, CheckValidPadding(padding_, explicit_paddings, in Conv2DCustomBackpropInputOp()
331 strides_, padding_, data_format_, &dims)); in Compute()
352 dims.spatial_dims[0].stride, padding_, in Compute()
358 dims.spatial_dims[1].stride, padding_, in Compute()
382 dims.spatial_dims[0].stride, padding_, in Compute()
388 dims.spatial_dims[1].stride, padding_, in Compute()
538 Padding padding_; member in tensorflow::Conv2DCustomBackpropInputOp
619 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in Conv2DSlowBackpropInputOp()
[all …]
Dpooling_ops_common.h103 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in MaxPoolingOp()
112 padding_, FORMAT_NHWC, tensor_in.shape()}; in Compute()
135 SpatialMaxPool(context, output, tensor_in, params, padding_); in Compute()
260 Padding padding_; variable
319 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_));
351 padding_, data_format_, tensor_in.shape()};
374 SpatialMaxPool(context, output, tensor_in, params, padding_);
507 Padding padding_;
Dconv_grad_filter_ops.cc210 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in Conv2DCustomBackpropFilterOp()
212 context, padding_ != Padding::EXPLICIT, in Conv2DCustomBackpropFilterOp()
218 OP_REQUIRES_OK(context, CheckValidPadding(padding_, explicit_paddings, in Conv2DCustomBackpropFilterOp()
254 strides_, padding_, data_format_, &dims)); in Compute()
271 dims.spatial_dims[0].stride, padding_, in Compute()
277 dims.spatial_dims[1].stride, padding_, in Compute()
404 Padding padding_; member in tensorflow::Conv2DCustomBackpropFilterOp
482 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in Conv2DSlowBackpropFilterOp()
485 OP_REQUIRES_OK(context, CheckValidPadding(padding_, explicit_paddings_, in Conv2DSlowBackpropFilterOp()
525 dilation_rows, dilation_cols, stride_rows, stride_cols, padding_, in Compute()
[all …]
Dconv_ops_using_gemm.cc450 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in Conv2DUsingGemmOp()
523 padding_, &out_rows, &pad_rows)); in Compute()
526 padding_, &out_cols, &pad_cols)); in Compute()
551 out_depth, stride_rows, stride_cols, padding_, in Compute()
557 Padding padding_; member in tensorflow::Conv2DUsingGemmOp
Dmkl_avgpooling_op.cc62 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in MklAvgPoolingOp()
81 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute()
84 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute()
213 Padding padding_; member in tensorflow::MklAvgPoolingOp
237 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in MklAvgPoolingGradOp()
258 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute()
427 Padding padding_; member in tensorflow::MklAvgPoolingGradOp
Ddepthwise_conv_op.cc290 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in DepthwiseConv2dNativeOp()
351 padding_, &out_rows, &pad_rows)); in Compute()
354 padding_, &out_cols, &pad_cols)); in Compute()
407 stride_, stride_, padding_, /*explicit_paddings=*/{}, output, in Compute()
439 Padding padding_; member in tensorflow::DepthwiseConv2dNativeOp
Dmkl_maxpooling_op.cc63 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in MklMaxPoolingOp()
86 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute()
93 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute()
193 Padding padding_; member in tensorflow::MklMaxPoolingOp
222 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in MklMaxPoolingGradOp()
253 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute()
260 pool_params.Init(context, ksize_, stride_, padding_, data_format_, in Compute()
493 Padding padding_; member in tensorflow::MklMaxPoolingGradOp
Dquantized_conv_ops.cc479 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in QuantizedConv2DOp()
543 padding_, &out_rows, &pad_rows)); in Compute()
546 padding_, &out_cols, &pad_cols)); in Compute()
564 padding_, output->flat<T3>().data(), out_rows, out_cols, in Compute()
584 Padding padding_; member in tensorflow::QuantizedConv2DOp
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dpooling_ops.cc66 padding_ = (padding == VALID) ? xla::Padding::kValid : xla::Padding::kSame; in PoolingOp()
127 xla::Padding padding_; member in tensorflow::__anon05e5a9280111::PoolingOp
177 xla::MaxPool(ctx->Input(0), ksize, stride, padding_, in Compile()
232 input_shape.dim_sizes(), ksize, stride, padding_, xla_data_format); in Compile()
239 xla_data_format, padding_ == xla::Padding::kValid); in Compile()
274 OP_REQUIRES_OK(ctx, ctx->GetAttr("padding", &padding_)); in MaxPoolGradOp()
330 (padding_ == VALID) ? xla::Padding::kValid : xla::Padding::kSame; in Compile()
348 Padding padding_; member in tensorflow::__anon05e5a9280111::MaxPoolGradOp
390 OP_REQUIRES_OK(ctx, ctx->GetAttr("padding", &padding_)); in AvgPoolGradOp()
422 (padding_ == VALID) ? xla::Padding::kValid : xla::Padding::kSame; in Compile()
[all …]
Dextract_image_patches_op.cc33 OP_REQUIRES_OK(ctx, ctx->GetAttr("padding", &padding_)); in ExtractImagePatchesOp()
145 window_strides[i], padding_, &unused_output_size, in Compile()
159 Padding padding_; member in tensorflow::__anon65d92ac10111::ExtractImagePatchesOp
/external/sfntly/cpp/src/sfntly/table/
Dsubtable.h50 virtual int32_t Padding() { return padding_; } in Padding()
54 void set_padding(int32_t padding) { padding_ = padding; } in set_padding()
68 int32_t padding_; variable
Dsubtable.cc26 : FontDataTable(data), padding_(0) { in SubTable()
31 : FontDataTable(data), padding_(0) { in SubTable()
/external/tensorflow/tensorflow/core/kernels/neon/
Dneon_depthwise_conv_op.cc58 OP_REQUIRES_OK(context, context->GetAttr("padding", &padding_)); in NeonDepthwiseConv2dNativeOp()
93 padding_, &out_rows, &pad_rows)); in Compute()
96 padding_, &out_cols, &pad_cols)); in Compute()
190 Padding padding_; member in tensorflow::NeonDepthwiseConv2dNativeOp
/external/compiler-rt/test/tsan/
Ddeadlock_detector_stress_test.cc37 (void)padding_; in ~PthreadMutex()
50 char padding_[64 - sizeof(pthread_mutex_t)]; member in PthreadMutex
65 (void)padding_; in ~PthreadSpinLock()
78 char padding_[64 - sizeof(pthread_spinlock_t)]; member in PthreadSpinLock
89 (void)padding_; in ~PthreadRWLock()
102 char padding_[256 - sizeof(pthread_rwlock_t)]; member in PthreadRWLock

12