Activation

Trait Activation 

Source
pub trait Activation: Send + Sync {
    // Required methods
    fn forward(&self, x: Fixed) -> Fixed;
    fn derivative(&self, x: Fixed) -> Fixed;
}

Required Methods§

Source

fn forward(&self, x: Fixed) -> Fixed

Source

fn derivative(&self, x: Fixed) -> Fixed

Implementors§