Skip to main content

DEFAULT_SOFTPLUS_THRESHOLD

Constant DEFAULT_SOFTPLUS_THRESHOLD 

pub const DEFAULT_SOFTPLUS_THRESHOLD: f64 = 20.0; // 20f64
Expand description

Default value of beta * x above which softplus falls back to the identity, matching the default of torch.nn.functional.softplus.