• Returns which elements of x are NaN.

    const x = tf.tensor1d([NaN, Infinity, -Infinity, 0, 1]);

    x.isNaN().print(); // or tf.isNaN(x)

    Type Parameters

    Parameters

    Returns T

    Doc

Generated using TypeDoc