Trait LinearActivation

Source
pub trait LinearActivation {
    type Output;

    // Required methods
    fn linear(self) -> Self::Output;
    fn linear_derivative(self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn linear(self) -> Self::Output

Source

fn linear_derivative(self) -> Self::Output

Implementations on Foreign Types§

Source§

impl<T> LinearActivation for &T
where T: Clone + Default,

Source§

type Output = T

Source§

fn linear(self) -> Self::Output

Source§

fn linear_derivative(self) -> Self::Output

Implementors§