Returns the truth value of NOT x element-wise.
NOT x
const a = tf.tensor1d([false, true], 'bool');a.logicalNot().print(); Copy
const a = tf.tensor1d([false, true], 'bool');a.logicalNot().print();
The input tensor. Must be of dtype 'bool'.
Generated using TypeDoc
Returns the truth value of
NOT x
element-wise.