• Returns the truth value of NOT x element-wise.

    const a = tf.tensor1d([false, true], 'bool');

    a.logicalNot().print();

    Type Parameters

    Parameters

    • x: TensorLike | T

      The input tensor. Must be of dtype 'bool'.

    Returns T

    Doc

Generated using TypeDoc