Home
last modified time | relevance | path

Searched refs:pad_bottom (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dops_util_test.cc46 int pad_bottom; member
105 int64 new_height, new_width, pad_top, pad_bottom, pad_left, pad_right; in VerifyGet2dOutputVerboseSizeValues() local
109 &pad_top, &pad_bottom); in VerifyGet2dOutputVerboseSizeValues()
119 EXPECT_EQ(pad_struct.output.pad_bottom, pad_bottom); in VerifyGet2dOutputVerboseSizeValues()
Dmkl_conv_ops.h391 int64 pad_top = 0, pad_bottom = 0, pad_left, pad_right; variable
400 pad_bottom = static_cast<int64>((*pad_r)[0]);
408 padding_type, &out_rows, &pad_top, &pad_bottom));
419 padding_, &out_rows, &pad_top, &pad_bottom));
432 *pad_r = {static_cast<int>(pad_bottom), static_cast<int>(pad_right)};
438 *pad_r = {static_cast<int>(pad_D2), static_cast<int>(pad_bottom),
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()
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()
522 pad_bottom, pad_right, dims.spatial_dims[0].stride, in Compute()
Dmkl_pooling_ops_common.h392 int64 pad_bottom; member
419 pad_bottom(0), in MklPoolParameters()
533 *padding_right = memory::dims({static_cast<int>(pool_params->pad_bottom), in PoolParamsToDims()
548 static_cast<int>(pool_params->pad_bottom), in PoolParamsToDims()
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()
369 &pad_bottom, &pad_right, &input_offset, in Compute()
380 dims.spatial_dims[1].filter_size, pad_top, pad_left, pad_bottom, in Compute()
Dmkl_pooling_ops_common.cc353 padding, &out_height, &pad_top, &pad_bottom)); in Init()
427 mkl_params->in_offset[3] = -params.pad_bottom; in ExtractMklOpParams()
Dmkl_conv_ops.cc1194 int64 pad_bottom, pad_right; in PadWithConvFusion() local
1198 pad_bottom = paddings[3]; in PadWithConvFusion()
1203 pad_bottom = paddings[5]; in PadWithConvFusion()
1210 padding_right = {static_cast<int>(pad_bottom), static_cast<int>(pad_right)}; 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/kernel_tests/
Datrous_conv2d_test.py130 pad_bottom = 0 if height % rate == 0 else rate - height % rate
132 pad = [[0, pad_bottom], [0, pad_right]]
/external/tensorflow/tensorflow/python/ops/
Dnn_ops.py2323 pad_bottom = pad_height - pad_top
2328 pad_bottom = 0
2335 in_height = output_shape[1] + pad_top + pad_bottom
2363 batch_to_space_crop = [[pad_top, pad_bottom + pad_bottom_extra],