![]() |
Returns the truth value of (x != y) element-wise.
Aliases:
tf.compat.v1.math.not_equal
tf.compat.v1.not_equal
tf.compat.v2.math.not_equal
tf.compat.v2.not_equal
tf.not_equal
tf.math.not_equal(
x,
y,
name=None
)
NOTE: NotEqual
supports broadcasting. More about broadcasting here
Args:
x
: ATensor
orSparseTensor
orIndexedSlices
.y
: ATensor
orSparseTensor
orIndexedSlices
.name
: A name for the operation (optional).
Returns:
A Tensor
of type bool with the same size as that of x or y.