NextAfter

public final class NextAfter

Returns the next representable value of `x1` in the direction of `x2`, element-wise.

This operation returns the same result as the C++ std::nextafter function.

It can also return a subnormal number.

Public Methods

Output <T>
asOutput ()
Returns the symbolic handle of a tensor.
static <T extends Number> NextAfter <T>
create ( Scope scope, Operand <T> x1, Operand <T> x2)
Factory method to create a class wrapping a new NextAfter operation.
Output <T>

Inherited Methods

Public Methods

public Output <T> 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 NextAfter <T> create ( Scope scope, Operand <T> x1, Operand <T> x2)

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

Parameters
scope current scope
Returns
  • a new instance of NextAfter

public Output <T> output ()