tf.raw_ops.ApproximateEqual

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

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.raw_ops.ApproximateEqual

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.