ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

MakeUnique

public final class MakeUnique

Make all elements in the non-Batch dimension unique, but \"close\" to

their initial value. Never returns a sub-normal number. Never returns zero. The sign of each input element is always identical to the sign of the corresponding output element. Behavior for infinite elements is undefined. Behavior for subnormal elements is undefined.

Public Methods

Output<Float>
asOutput()
Returns the symbolic handle of a tensor.
static MakeUnique
create(Scope scope, Operand<Float> input)
Factory method to create a class wrapping a new MakeUnique operation.
Output<Float>
output()

Inherited Methods

Public Methods

public Output<Float> 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 MakeUnique create (Scope scope, Operand<Float> input)

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

Parameters
scope current scope
Returns
  • a new instance of MakeUnique

public Output<Float> output ()