pub fn softsign<const D: usize>(tensor: Tensor<D>) -> Tensor<D>
Applies the Softsign function element-wise.
softsign(x_i) = x_i / (1 + |x_i|)