Returns the truth value of NOT x element-wise.
tf.raw_ops.LogicalNot(
x, name=None
)
Example:
tf.math.logical_not(tf.constant([True, False]))<tf.Tensor: shape=(2,), dtype=bool, numpy=array([False, True])>
Args | |
|---|---|
x
|
A Tensor of type bool. A Tensor of type bool.
|
name
|
A name for the operation (optional). |
Returns | |
|---|---|
A Tensor of type bool.
|