Home
last modified time | relevance | path

Searched refs:pad_before (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dconv_grad_size_util.cc41 dim.pad_before = dim.pad_after = 0; in GetWindowedOutputSize()
50 dim.pad_before = padding_needed / 2; in GetWindowedOutputSize()
51 dim.pad_after = padding_needed - dim.pad_before; in GetWindowedOutputSize()
85 dim.pad_before = effective_filter_size - 1 - output_dim.pad_before; in ConvGradExtractAndVerifyDimension()
86 dim.pad_after = padded_out_size - dim.output_size - dim.pad_before; in ConvGradExtractAndVerifyDimension()
90 << ", pad_before = " << dim.pad_before in ConvGradExtractAndVerifyDimension()
Dconv_grad_size_util.h31 int64 pad_before; member
Dpooling.cc265 padding->set_edge_padding_low(conv_backprop_spatial_dim.pad_before); in AvgPoolGrad()
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_utils.cc246 int64_t pad_before, pad_after; in getPaddingValuesFromPadType() local
263 pad_before = pad_before_tf; in getPaddingValuesFromPadType()
265 computed_paddings.push_back(pad_before); in getPaddingValuesFromPadType()
288 int64_t pad_before, pad_after; in getPaddingValuesFromExplicitPadAttr() local
293 pad_before = explicit_pad[dim * 2].template cast<IntegerAttr>().getInt(); in getPaddingValuesFromExplicitPadAttr()
295 computed_paddings.push_back(pad_before); in getPaddingValuesFromExplicitPadAttr()
316 int64_t pad_before, pad_after; in getTransposeConv2dPaddingValues() local
335 pad_before = total_padding / 2; in getTransposeConv2dPaddingValues()
336 pad_after = total_padding - pad_before; in getTransposeConv2dPaddingValues()
338 computed_paddings.push_back(pad_before); in getTransposeConv2dPaddingValues()
/external/tensorflow/tensorflow/core/kernels/
Dconv_grad_shape_utils.cc80 dim->pad_before = effective_filter_size - 1 - padding_before; in ConvBackpropExtractAndVerifyDimension()
82 padded_out_size - dim->expanded_output_size - dim->pad_before; in ConvBackpropExtractAndVerifyDimension()
86 << ", pad_before = " << dim->pad_before in ConvBackpropExtractAndVerifyDimension()
Dconv_grad_shape_utils.h41 int64 pad_before, pad_after; member
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dconv_op_helpers.cc361 padding[i] = {dims.spatial_dims[i].pad_before, in MakeXlaBackpropInputConvOp()
512 const int64 pad_before = attrs.padding == Padding::EXPLICIT in MakeXlaBackpropFilterConvOp() local
517 padding[i] = {pad_before, pad_total - pad_before}; in MakeXlaBackpropFilterConvOp()
/external/libaom/libaom/aom/src/
Daom_encoder.c210 unsigned int pad_before, in aom_codec_set_cx_data_buf() argument
216 ctx->priv->enc.cx_data_pad_before = pad_before; in aom_codec_set_cx_data_buf()
/external/libvpx/libvpx/vpx/src/
Dvpx_encoder.c286 unsigned int pad_before, in vpx_codec_set_cx_data_buf() argument
292 ctx->priv->enc.cx_data_pad_before = pad_before; in vpx_codec_set_cx_data_buf()
/external/libaom/libaom/aom/
Daom_encoder.h1089 unsigned int pad_before,
/external/libvpx/libvpx/vpx/
Dvpx_encoder.h921 unsigned int pad_before,
/external/tensorflow/tensorflow/python/kernel_tests/
Ddepthwise_conv_op_test.py121 pad_before = total_padding // 2
122 pad_after = total_padding - pad_before
123 return pad_before, pad_after
/external/tensorflow/tensorflow/cc/gradients/
Darray_grad.cc307 auto pad_before = Slice(scope, a, {0, 0}, size); in PadGrad() local
309 auto begin = Reshape(scope, pad_before, {-1}); in PadGrad()
/external/tensorflow/tensorflow/compiler/tests/
Drandomized_tests.cc2972 int64 pad_before; in TEST_F() local
2975 pad_before = distribution(generator()); in TEST_F()
2977 } while (pad_before + pad_after > input_dims[1 + i]); in TEST_F()
2978 input_dims[1 + i] -= pad_before + pad_after; in TEST_F()
2979 padding_vals.push_back(pad_before); in TEST_F()
3014 int64 pad_before; in TEST_F() local
3017 pad_before = distribution(generator()); in TEST_F()
3019 } while (pad_before + pad_after > input_dims[1 + i]); in TEST_F()
3020 input_dims[1 + i] -= pad_before + pad_after; in TEST_F()
3021 padding_vals.push_back(pad_before); in TEST_F()
/external/tensorflow/tensorflow/python/ops/
Darray_grad.py864 pad_before = array_ops.slice(a, [0, 0],
867 begin = array_ops.reshape(pad_before, [-1])
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/
Dlegalization.md141 int64_t pad_before, pad_after
146 pad_before = explicit_pad[dim * 2]
148 computed_paddings.push_back(pad_before)
1037 int64_t pad_before, pad_after;
1054 pad_before = total_padding / 2
1055 pad_after = total_padding - pad_before
1057 computed_padding.push_back(pad_before)
/external/llvm-project/mlir/include/mlir/Dialect/Linalg/IR/
DLinalgStructuredOps.td227 x[0] * strides[0] - pad_before[0] + dilation_rate[0]*z[0],
229 x[N-1]*strides[N-1] - pad_before[N-1] + dilation_rate[N-1]*z[N-1]
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc2445 conv_grad_spatial_dim.pad_before - orig_padding[dim].first; in matchAndRewrite()
4177 paddings.push_back(spatial_dim_i.pad_before); in matchAndRewrite()
4422 const int64_t pad_before = padding == tensorflow::Padding::EXPLICIT in matchAndRewrite() local
4427 paddings.push_back(pad_before); in matchAndRewrite()
4428 paddings.push_back(pad_total - pad_before); in matchAndRewrite()