Realm

oa::ml::matrix::elu

Apply the exponential linear unit elementwise. Errors Returns an error unless input is F32 or runtime recording fails.

FnRust public API

Function Documentation

pub fn elu( input: &Matrix, alpha: f32 ) -> Result<Matrix>
Apply the exponential linear unit elementwise. Errors Returns an error unless input is F32 or runtime recording fails.