Home
last modified time | relevance | path

Searched refs:pad_top (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Ddilation_ops.cc67 int* rate_cols, int64* pad_top, int64* pad_left, in ParseSizes() argument
108 padding, out_rows, pad_top)); in ParseSizes()
128 int64 pad_top = 0, pad_left = 0; in Compute() local
131 &rate_rows, &rate_cols, &pad_top, &pad_left, &out_rows, in Compute()
152 pad_top, pad_left, output->tensor<T, 4>()); in Compute()
166 int stride_cols, int rate_rows, int rate_cols, int pad_top, in operator ()()
183 int h_beg = h_out * stride_rows - pad_top; in operator ()()
227 int64 pad_top = 0, pad_left = 0; in Compute() local
230 &rate_rows, &rate_cols, &pad_top, &pad_left, &out_rows, in Compute()
258 stride_cols, rate_rows, rate_cols, pad_top, pad_left, in Compute()
[all …]
Ddilation_ops_gpu.cu.cc45 int pad_top, int pad_left, T* output_ptr) { in DilationKernel() argument
54 int h_beg = h_out * stride_rows - pad_top; in DilationKernel()
84 int rate_cols, int pad_top, int pad_left, T* in_backprop_ptr) { in DilationBackpropInputKernel() argument
93 int h_beg = h_out * stride_rows - pad_top; in DilationBackpropInputKernel()
133 int rate_cols, int pad_top, int pad_left, T* filter_backprop_ptr) { in DilationBackpropFilterKernel() argument
142 int h_beg = h_out * stride_rows - pad_top; in DilationBackpropFilterKernel()
183 int stride_cols, int rate_rows, int rate_cols, int pad_top, in operator ()()
203 output_cols, stride_rows, stride_cols, rate_rows, rate_cols, pad_top, in operator ()()
214 int rate_cols, int pad_top, int pad_left, in operator ()()
245 stride_rows, stride_cols, rate_rows, rate_cols, pad_top, pad_left, in operator ()()
[all …]
Ddilation_ops.h31 int stride_cols, int rate_rows, int rate_cols, int pad_top,
45 int rate_cols, int pad_top, int pad_left,
59 int rate_cols, int pad_top, int pad_left,
Dops_util_test.cc45 int pad_top; member
99 EXPECT_EQ(pad_struct.output.pad_top, pad_rows); in VerifyGet2dOutputSizeValues()
105 int64 new_height, new_width, pad_top, pad_bottom, pad_left, pad_right; in VerifyGet2dOutputVerboseSizeValues() local
109 &pad_top, &pad_bottom); in VerifyGet2dOutputVerboseSizeValues()
118 EXPECT_EQ(pad_struct.output.pad_top, pad_top); in VerifyGet2dOutputVerboseSizeValues()
Dmkl_conv_ops.h391 int64 pad_top = 0, pad_bottom = 0, pad_left, pad_right; variable
398 pad_top = static_cast<int64>((*pad_l)[0]);
408 padding_type, &out_rows, &pad_top, &pad_bottom));
419 padding_, &out_rows, &pad_top, &pad_bottom));
431 *pad_l = {static_cast<int>(pad_top), static_cast<int>(pad_left)};
436 *pad_l = {static_cast<int>(pad_D1), static_cast<int>(pad_top),
Dconv_grad_input_ops.cc346 int64 pad_top, pad_bottom; in Compute() local
353 &dims.spatial_dims[0].output_size, &pad_top, &pad_bottom)); in Compute()
361 if (pad_left == pad_right && pad_top == pad_bottom) { in Compute()
369 static_cast<int>(pad_top), static_cast<int>(pad_left), in Compute()
375 int64 pad_top, pad_bottom; in Compute() local
383 &dims.spatial_dims[0].output_size, &pad_top, &pad_bottom)); in Compute()
490 dims.spatial_dims[1].filter_size, pad_top, pad_left, pad_bottom, in Compute()
503 auto shard = [&context, &dims, &pad_top, &pad_left, &pad_bottom, in Compute()
521 dims.spatial_dims[1].filter_size, pad_top, pad_left, in Compute()
Dconv_grad_filter_ops.cc265 int64 pad_top, pad_bottom; in Compute() local
272 &dims.spatial_dims[0].output_size, &pad_top, &pad_bottom)); in Compute()
281 if (pad_left == pad_right && pad_top == pad_bottom) { in Compute()
288 static_cast<int>(pad_top), static_cast<int>(pad_left), in Compute()
368 auto shard = [&input_data, &col_buffer_data, &dims, &pad_top, &pad_left, in Compute()
380 dims.spatial_dims[1].filter_size, pad_top, pad_left, pad_bottom, in Compute()
Dmkl_pooling_ops_common.h391 int64 pad_top; member
418 pad_top(0), in MklPoolParameters()
531 *padding_left = memory::dims({static_cast<int>(pool_params->pad_top), in PoolParamsToDims()
545 static_cast<int>(pool_params->pad_top), in PoolParamsToDims()
Dmkl_pooling_ops_common.cc353 padding, &out_height, &pad_top, &pad_bottom)); in Init()
425 mkl_params->in_offset[1] = -params.pad_top; in ExtractMklOpParams()
Dmkl_conv_ops.cc1193 int64 pad_top, pad_left; in PadWithConvFusion() local
1197 pad_top = paddings[2]; in PadWithConvFusion()
1202 pad_top = paddings[4]; in PadWithConvFusion()
1209 padding_left = {static_cast<int>(pad_top), static_cast<int>(pad_left)}; in PadWithConvFusion()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SpaceToBatch.pbtxt15 paddings = [[pad_top, pad_bottom], [pad_left, pad_right]]
19 height_pad = pad_top + height + pad_bottom
/external/tensorflow/tensorflow/python/ops/
Dnn_ops.py2322 pad_top = pad_height // 2
2323 pad_bottom = pad_height - pad_top
2327 pad_top = 0
2335 in_height = output_shape[1] + pad_top + pad_bottom
2363 batch_to_space_crop = [[pad_top, pad_bottom + pad_bottom_extra],