pub fn softplus<const D: usize, B: Backend>(x: Tensor<B, D>) -> Tensor<B, D>
Applies the SoftPlus function element-wise.
The SoftPlus function is a smooth approximation of the ReLU function.