Skip to main content

softplus

Function softplus 

Source
pub fn softplus<T: LogAddExpArg>(x: T) -> T
Expand description

$\ln(1 + e^x)$

Corresponds to scipy.special.softplus in SciPy.