Function tanh
pub fn tanh<T: TapeStorage>(x: &AReal<T>) -> AReal<T>Expand description
Hyperbolic tangent. f' = 1 - tanh², f'' = -2·tanh·f'.
pub fn tanh<T: TapeStorage>(x: &AReal<T>) -> AReal<T>Hyperbolic tangent. f' = 1 - tanh², f'' = -2·tanh·f'.