Trait Tanh

Source
pub trait Tanh {
    type Output;

    // Required methods
    fn tanh(&self) -> Self::Output;
    fn tanh_derivative(&self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn tanh(&self) -> Self::Output

Source

fn tanh_derivative(&self) -> Self::Output

Implementations on Foreign Types§

Source§

impl<A, S, D> Tanh for ArrayBase<S, D>
where A: ScalarOperand + Float, S: Data<Elem = A>, D: Dimension,

Source§

type Output = ArrayBase<OwnedRepr<A>, D>

Source§

fn tanh(&self) -> Self::Output

Source§

fn tanh_derivative(&self) -> Self::Output

Implementors§