Defined in generated file: python/ops/gen_math_ops.py
Returns the truth value of NOT x element-wise.
Aliases:
tf.RaggedTensor.invert
tf.Tensor.invert
tf.compat.v1.RaggedTensor.invert
tf.compat.v1.Tensor.invert
tf.compat.v1.logical_not
tf.compat.v1.math.logical_not
tf.compat.v2.RaggedTensor.invert
tf.compat.v2.Tensor.invert
tf.compat.v2.logical_not
tf.compat.v2.math.logical_not
tf.logical_not
tf.math.logical_not(
x,
name=None
)
Args:
x
: ATensor
of typebool
.name
: A name for the operation (optional).
Returns:
A Tensor
of type bool
.