powered by
Computes the softplus function \(\log(1+e^{t})\) in a numerically stable way for large absolute values of \(t\).
softplus(t)
The softplus function evaluated at t.
t
vector or matrix.
curve(softplus(10 * (1 - (1 - x) / 0.1)), from = -1, to = 1)
Run the code above in your browser using DataLab