Returns the truth value of abs(x-y) < tolerance element-wise.
tf.raw_ops.ApproximateEqual(
x, y, tolerance=1e-05, name=None
)
Args | |
---|---|
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). |
Returns | |
---|---|
A Tensor of type bool .
|