Home
last modified time | relevance | path

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

/external/XNNPACK/test/
Dchannel-pad-nc.cc29 .pad_before(pad_channels) in TEST()
55 .pad_before(pad_channels) in TEST()
69 .pad_before(pad_channels) in TEST()
83 .pad_before(pad_channels) in TEST()
98 .pad_before(pad_channels) in TEST()
113 .pad_before(pad_channels) in TEST()
129 .pad_before(pad_channels) in TEST()
143 .pad_before(pad_channels) in TEST()
158 .pad_before(pad_channels) in TEST()
Dchannel-pad-operator-tester.h43 inline ChannelPadOperatorTester& pad_before(size_t pad_before) { in pad_before() function
44 this->pad_before_ = pad_before; in pad_before()
48 inline size_t pad_before() const { in pad_before() function
62 return pad_before() + input_channels() + pad_after(); in output_channels()
122 input_channels(), pad_before(), pad_after(), in TestX32()
144 for (size_t k = 0; k < pad_before(); k++) { in TestX32()
150 output[i * output_stride() + pad_before() + k]); in TestX32()
154 output[i * output_stride() + pad_before() + input_channels() + k]); in TestX32()
/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.cc262 padding->set_edge_padding_low(conv_backprop_spatial_dim.pad_before); in AvgPoolGrad()
/external/tensorflow/tensorflow/core/kernels/
Dconv_grad_shape_utils.cc79 dim->pad_before = effective_filter_size - 1 - padding_before; in ConvBackpropExtractAndVerifyDimension()
81 padded_out_size - dim->expanded_output_size - dim->pad_before; in ConvBackpropExtractAndVerifyDimension()
85 << ", 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.cc351 padding[i] = {dims.spatial_dims[i].pad_before, in MakeXlaBackpropInputConvOp()
484 const int64 pad_before = attrs.padding == Padding::EXPLICIT in MakeXlaBackpropFilterConvOp() local
489 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/u-boot/tools/binman/
Dentry.py83 self.pad_before = 0
173 self.pad_before = fdt_util.GetInt(self._node, 'pad-before', 0)
350 needed = self.pad_before + self.contents_size + self.pad_after
Dftest.py750 self.assertEqual(3, entry.pad_before)
/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/u-boot/tools/binman/etype/
Dsection.py149 base = self.pad_before + (entry.offset or 0) - self._skip_at_start
465 size = self.pad_before + contents_size + self.pad_after
/external/tensorflow/tensorflow/cc/gradients/
Darray_grad.cc298 auto pad_before = Slice(scope, a, {0, 0}, size); in PadGrad() local
300 auto begin = Reshape(scope, pad_before, {-1}); in PadGrad()
/external/tensorflow/tensorflow/compiler/tests/
Drandomized_tests.cc2971 int64 pad_before; in TEST_F() local
2974 pad_before = distribution(generator()); in TEST_F()
2976 } while (pad_before + pad_after > input_dims[1 + i]); in TEST_F()
2977 input_dims[1 + i] -= pad_before + pad_after; in TEST_F()
2978 padding_vals.push_back(pad_before); in TEST_F()
3013 int64 pad_before; in TEST_F() local
3016 pad_before = distribution(generator()); in TEST_F()
3018 } while (pad_before + pad_after > input_dims[1 + i]); in TEST_F()
3019 input_dims[1 + i] -= pad_before + pad_after; in TEST_F()
3020 padding_vals.push_back(pad_before); in TEST_F()
/external/tensorflow/tensorflow/python/ops/
Darray_grad.py836 pad_before = array_ops.slice(a, [0, 0],
839 begin = array_ops.reshape(pad_before, [-1])
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc2513 conv_paddings[i * 2] = dims.spatial_dims[i].pad_before; in matchAndRewrite()
2720 const int64_t pad_before = padding == tensorflow::Padding::EXPLICIT in matchAndRewrite() local
2725 conv_padding[i * 2] = pad_before; in matchAndRewrite()
2726 conv_padding[i * 2 + 1] = pad_total - pad_before; in matchAndRewrite()