Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.math.logical_not

TensorFlow 1 version

Returns the truth value of NOT x element-wise.

tf.math.logical_not(
    x, name=None
)

Used in the notebooks

Used in the tutorials

Args:

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

Returns:

A Tensor of type bool.