View source on GitHub
|
Computes the element-wise NOT of the given input tensor.
tf.keras.ops.logical_not(
x
)
Zeros are treated as False and non-zeros are treated as True.
Args | |
|---|---|
x
|
Input tensor. |
Returns | |
|---|---|
| Output tensor, element-wise logical NOT of the input. |
View source on GitHub