tft.deduplicate_tensor_per_row( input_tensor, name=None )
Deduplicates each row (0-th dimension) of the provided tensor.
input_tensor: A two-dimensional
SparseTensor. The first dimension is assumed to be the batch or "row" dimension, and deduplication is done on the 2nd dimension. If the Tensor is 1D it is returned as the equivalent
SparseTensorsince the "row" is a scalar can't be further deduplicated.
name: Optional name for the operation.
SparseTensor containing the unique set of values from each
row of the input. Note: the original order of the input may not be