• Computes natural logarithm of the input tf.Tensor plus one element-wise: ln(1 + x)

    const x = tf.tensor1d([1, 2, Math.E - 1]);

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

    Type Parameters

    Parameters

    Returns T

    Doc

Generated using TypeDoc