Returns the truth value of NOT x element-wise.
View aliases
Main aliases
Compat aliases for migrationSee 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`
tf.math.logical_not(
x, name=None
)
Args | |
---|---|
x
|
A Tensor of type bool .
|
name
|
A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type bool .
|