/external/tensorflow/tensorflow/core/kernels/ |
D | ops_util_test.cc | 46 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()
|
D | mkl_conv_ops.h | 391 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),
|
D | conv_grad_input_ops.cc | 346 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()
|
D | mkl_pooling_ops_common.h | 392 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()
|
D | conv_grad_filter_ops.cc | 265 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()
|
D | mkl_pooling_ops_common.cc | 353 padding, &out_height, &pad_top, &pad_bottom)); in Init() 427 mkl_params->in_offset[3] = -params.pad_bottom; in ExtractMklOpParams()
|
D | mkl_conv_ops.cc | 1194 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/ |
D | api_def_SpaceToBatch.pbtxt | 15 paddings = [[pad_top, pad_bottom], [pad_left, pad_right]] 19 height_pad = pad_top + height + pad_bottom
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | atrous_conv2d_test.py | 130 pad_bottom = 0 if height % rate == 0 else rate - height % rate 132 pad = [[0, pad_bottom], [0, pad_right]]
|
/external/tensorflow/tensorflow/python/ops/ |
D | nn_ops.py | 2323 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],
|