Computes softplus of the input tf.Tensor element-wise: log(exp(x) + 1)
tf.Tensor
log(exp(x) + 1)
const x = tf.tensor1d([0, 1, -1, .7]);x.softplus().print(); // or tf.softplus(x) Copy
const x = tf.tensor1d([0, 1, -1, .7]);x.softplus().print(); // or tf.softplus(x)
The input tensor.
Generated using TypeDoc
Computes softplus of the input
tf.Tensor
element-wise:log(exp(x) + 1)