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

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

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

    Type Parameters

    Parameters

    Returns T

    Doc

Generated using TypeDoc