tf.math.logical_not

TensorFlow 1 version

Returns the truth value of NOT x element-wise.

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

A Tensor of type bool.