Computes natural logarithm of the input tf.Tensor plus one element-wise: ln(1 + x)
tf.Tensor
ln(1 + x)
const x = tf.tensor1d([1, 2, Math.E - 1]);x.log1p().print(); // or tf.log1p(x) Copy
const x = tf.tensor1d([1, 2, Math.E - 1]);x.log1p().print(); // or tf.log1p(x)
The input tensor.
Generated using TypeDoc
Computes natural logarithm of the input
tf.Tensor
plus one element-wise:ln(1 + x)