Function sigmoid

Source
pub fn sigmoid<T>(args: T) -> T
where T: Float,
Expand description

the sigmoid activation function: $f(x) = \frac{1}{1 + e^{-x}}$