tf.math.logical_not

Returns the truth value of NOT x element-wise.

Main aliases

tf.logical_not

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.logical_not, tf.compat.v1.math.logical_not, `tf.compat.v2.logical_not`, `tf.compat.v2.math.logical_not`

x A Tensor of type bool.
name A name for the operation (optional).

A Tensor of type bool.