MergeDedupData

public final class MergeDedupData

An op merges elements of integer and float tensors into deduplication data as XLA tuple.

This op merges outputs of SplitDedupDataOp, which gives two 1-D tensors, integer and floating point. With respect to tuple_mask, this op merges values of these two tensors into an XLA tuple, which should be as same as input to SplitDedupDataOp.

Nested Classes

class MergeDedupData.Options Optional attributes for MergeDedupData  

Public Methods

Output<Object>
asOutput()
Returns the symbolic handle of a tensor.
static MergeDedupData.Options
config(String config)
static <T extends Number, U extends Number> MergeDedupData
create(Scope scope, Operand<T> integerTensor, Operand<U> floatTensor, String tupleMask, Options... options)
Factory method to create a class wrapping a new MergeDedupData operation.
Output<?>
output()
An XLA tuple merging integer and float elements as deduplication data tuple.

Inherited Methods

Public Methods

public Output<Object> asOutput ()

Returns the symbolic handle of a tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static MergeDedupData.Options config (String config)

public static MergeDedupData create (Scope scope, Operand<T> integerTensor, Operand<U> floatTensor, String tupleMask, Options... options)

Factory method to create a class wrapping a new MergeDedupData operation.

Parameters
scope current scope
integerTensor A 1-D integer tensor, includes integer elements of deduplication data tuple.
floatTensor A 1-D float tensor, includes float elements of deduplication data tuple.
tupleMask A serialized TensorProto string of output tuple mask. This mask is a 2-D tensor, with first column as tuple element type, and second column as span of this type. For example, an output tuple of (1, 2, 0.1, 3), its mask is [[0, 2], [1, 1], [0, 1]]. We expect only two types of elements: integer(0) and float(1).
options carries optional attributes values
Returns
  • a new instance of MergeDedupData

public Output<?> output ()

An XLA tuple merging integer and float elements as deduplication data tuple.