pub trait Activation: ActivationClone {
// Required methods
fn function(&self, x: f32) -> f32;
fn derivative(&self, x: f32) -> f32;
}Required Methods§
Trait Implementations§
Source§impl Clone for Box<dyn Activation>
impl Clone for Box<dyn Activation>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more