Trait ReLU

Source
pub trait ReLU {
    type Output;

    // Required method
    fn relu(&self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl<A, S, D> ReLU for ArrayBase<S, D>
where A: Copy + PartialOrd + Zero, S: Data<Elem = A>, D: Dimension,

Source§

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

Source§

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

Implementors§