Home
last modified time | relevance | path

Searched refs:padding_value (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/python/data/experimental/ops/
Dbatching.py206 def padded_batch_window(dataset, padded_shape, padding_value=None): argument
232 return _padded_batch_dense_window(dataset, padded_shape, padding_value)
234 if padding_value is not None:
241 def _padded_batch_dense_window(dataset, padded_shape, padding_value=None): argument
275 if padding_value is None:
277 padding_value = ""
279 padding_value = False
283 padding_value = 0
298 value, array_ops.stack([left, right], 1), constant_values=padding_value)
/external/tensorflow/tensorflow/core/util/
Dpadding.cc49 for (int64 padding_value : explicit_paddings) { in CheckValidPadding() local
50 if (padding_value < 0) { in CheckValidPadding()
/external/libvpx/libvpx/test/
Dbuffer.h93 void SetPadding(const T padding_value);
278 void Buffer<T>::SetPadding(const T padding_value) { in SetPadding() argument
280 padding_value_ = padding_value; in SetPadding()
284 src[i] = padding_value; in SetPadding()
/external/libtextclassifier/utils/tflite/
Dencoder_common.cc103 const int32_t padding_value, in CopyDataToTensorAndPadOrTruncate() argument
115 output_buffer[output_offset] = padding_value; in CopyDataToTensorAndPadOrTruncate()
Dencoder_common.h62 const int32_t padding_value,
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorImagePatch.h72 … PaddingType padding_type, Scalar padding_value)
78 m_padding_type(padding_type), m_padding_value(padding_value) {}
86 Scalar padding_value)
93 m_padding_type(PADDING_VALID), m_padding_value(padding_value) {}
124 Scalar padding_value() const { return m_padding_value; }
179 m_paddingValue = op.padding_value();
DTensorVolumePatch.h67 … PaddingType padding_type, Scalar padding_value)
73 m_padding_type(padding_type), m_padding_value(padding_value) {}
82 Scalar padding_value)
89 m_padding_type(PADDING_VALID), m_padding_value(padding_value) {}
132 Scalar padding_value() const { return m_padding_value; }
192 m_paddingValue = op.padding_value();
DTensorPadding.h63 …orPaddingOp(const XprType& expr, const PaddingDimensions& padding_dims, const Scalar padding_value)
64 : m_xpr(expr), m_padding_dims(padding_dims), m_padding_value(padding_value) {}
69 Scalar padding_value() const { return m_padding_value; }
104 : m_impl(op.expression(), device), m_padding(op.padding()), m_paddingValue(op.padding_value())
DTensorBase.h691 … const PaddingType padding_type = PADDING_SAME, const Scalar padding_value = Scalar(0)) const {
693 … in_row_stride, in_col_stride, 1, 1, padding_type, padding_value);
704 const Scalar padding_value) const { in extract_image_patches() argument
707 … padding_top, padding_bottom, padding_left, padding_right, padding_value); in extract_image_patches()
714 … const PaddingType padding_type = PADDING_SAME, const Scalar padding_value = Scalar(0)) const {
715 …, patch_cols, plane_stride, row_stride, col_stride, 1, 1, 1, 1, 1, 1, padding_type, padding_value);
726 …const Index padding_left, const Index padding_right, const Scalar padding_value = Scalar(0)) const…
727 …_top_z, padding_bottom_z, padding_top, padding_bottom, padding_left, padding_right, padding_value);
774 pad(const PaddingDimensions& padding, const Scalar padding_value) const { in pad() argument
775 … return TensorPaddingOp<const PaddingDimensions, const Derived>(derived(), padding, padding_value); in pad()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_creation_utils.cc58 HloInstruction* padding_value, in MakePadHlo() argument
61 CHECK_EQ(computation, padding_value->parent()); in MakePadHlo()
64 ShapeInference::InferPadShape(operand->shape(), padding_value->shape(), in MakePadHlo()
67 pad_shape, operand, padding_value, padding_config)); in MakePadHlo()
Dhlo_creation_utils.h45 HloInstruction* padding_value,
Dhlo_instructions.h1256 HloInstruction* padding_value,
1261 const HloInstruction* padding_value() const { return operand(1); } in padding_value() function
Dhlo_instruction.h683 HloInstruction* padding_value, const PaddingConfig& padding_config);
Dhlo_instructions.cc2198 HloInstruction* padding_value, in HloPadInstruction() argument
2202 AppendOperand(padding_value); in HloPadInstruction()
Delemental_ir_emitter.cc2098 TF_ASSIGN_OR_RETURN(llvm::Value * padding_value, in EmitElementalPad()
2101 Store(padding_value, ret_value_addr); in EmitElementalPad()
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Dshapes.md65 optional PaddingValue padding_value = 3;
118 Padding is defined in the optional `padded_dimensions` and `padding_value`
/external/tensorflow/tensorflow/compiler/tests/
Dxla_ops_test.py196 padding_value=7,
/external/tensorflow/tensorflow/compiler/xla/python/
Dlocal_computation_builder.cc482 const LocalOp& padding_value, in Pad() argument
484 return xla::Pad(operand.op(), padding_value.op(), padding_config); in Pad()
Dlocal_computation_builder.h247 LocalOp Pad(const LocalOp& operand, const LocalOp& padding_value,
Dxla_client.py1171 def Pad(self, operand, padding_value, padding_config): argument
1186 return self._client.Pad(operand, padding_value, padding_config)
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h336 XlaOp Pad(const XlaOp& operand, const XlaOp& padding_value,
722 friend XlaOp Pad(const XlaOp& operand, const XlaOp& padding_value,
1144 XlaOp Pad(const XlaOp& operand, const XlaOp& padding_value,
Dxla_builder.cc871 XlaOp XlaBuilder::Pad(const XlaOp& operand, const XlaOp& padding_value, in Pad() argument
878 GetShape(padding_value)); in Pad()
886 {operand, padding_value}); in Pad()
2850 XlaOp Pad(const XlaOp& operand, const XlaOp& padding_value, in Pad() argument
2852 return operand.builder()->Pad(operand, padding_value, padding_config); in Pad()
/external/tensorflow/tensorflow/core/kernels/
Deigen_volume_patch.h57 m_paddingValue = op.padding_value(); in CustomTensorEvaluator()
/external/tensorflow/tensorflow/compiler/xla/
Dxla_data.proto149 reserved "padding_value";
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc2107 const HloInstruction* padding_value = pad->operand(1); in HandlePad() local
2108 llvm::Value* padding_value_addr = GetEmittedValueFor(padding_value); in HandlePad()

12