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

tf.raw_ops.ApproximateEqual

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

x A Tensor. Must be one of the following types: float32, float64, int32, uint8, int16, int8, complex64, int64, qint8, quint8, qint32, bfloat16, uint16, complex128, half, uint32, uint64.
y A Tensor. Must have the same type as x.
tolerance An optional float. Defaults to 1e-05.
name A name for the operation (optional).

A Tensor of type bool.