Have a question? Connect with the community at the TensorFlow Forum Visit Forum

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.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output <T>
asOutput ()
Returns the symbolic handle of the tensor.
static <T extends TNumber > 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

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "NextAfter"

Public Methods

public Output <T> asOutput ()

Returns the symbolic handle of the 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 ()