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

ApproximateEqual

public final class ApproximateEqual

Returns the truth value of abs(x-y) < tolerance element-wise.

Nested Classes

class ApproximateEqual.Options Optional attributes for ApproximateEqual

Constants

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

Public Methods

Output < TBool >
asOutput ()
Returns the symbolic handle of the tensor.
static <T extends TType > ApproximateEqual
create ( Scope scope, Operand <T> x, Operand <T> y, Options... options)
Factory method to create a class wrapping a new ApproximateEqual operation.
static ApproximateEqual.Options
tolerance (Float tolerance)
Output < TBool >
z ()

Inherited Methods

Constants

public static final String OP_NAME

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

Constant Value: "ApproximateEqual"

Public Methods

public Output < TBool > 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 ApproximateEqual create ( Scope scope, Operand <T> x, Operand <T> y, Options... options)

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

Parameters
scope current scope
options carries optional attributes values
Returns
  • a new instance of ApproximateEqual

public static ApproximateEqual.Options tolerance (Float tolerance)

public Output < TBool > z ()