Realm

oa::ml::matrix::softplus

Apply the overflow-safe Softplus formulation elementwise. Errors Returns an error unless input is F32 or runtime recording fails.

FnRust public API

Function Documentation

pub fn softplus( input: &Matrix ) -> Result<Matrix>
Apply the overflow-safe Softplus formulation elementwise. Errors Returns an error unless input is F32 or runtime recording fails.