tf.raw_ops.ApproximateEqual
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 .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[]]