Realm

oa::ml::matrix::tanh

Apply hyperbolic tangent elementwise. Errors Returns an error unless input is F32 or runtime recording fails.

FnRust public API

Function Documentation

pub fn tanh( input: &Matrix ) -> Result<Matrix>
Apply hyperbolic tangent elementwise. Errors Returns an error unless input is F32 or runtime recording fails.