1use super::ActivationFunction; 2 3// The linear activation function: f(x) = x 4pub static LINEAR: ActivationFunction = ActivationFunction { 5 f: (|x: f64| x), 6 d: (|_: f64| 1.0), 7};