pub trait Activation<U, T, R, D>where
    U: UnitValue<U>,
    D: Device<U>,
{ fn apply(&self, device: &D, input: &T) -> Result<R, EvaluateError>; fn derive(&self, device: &D, o: &T, loss: &T, u: &T) -> Result<R, TrainingError>; fn is_canonical_link<L: LossFunction<U>>(&self, l: &L) -> bool; }

Required Methods

Implementors