Enum nn::HaltCondition
[−]
[src]
pub enum HaltCondition { Epochs(u32), MSE(f64), Timer(Duration), }
Specifies when to stop training the network
Variants
Epochs(u32)
Stop training after a certain number of epochs
MSE(f64)
Train until a certain error rate is achieved
Timer(Duration)
Train for some fixed amount of time and then halt
Trait Implementations
impl Debug for HaltCondition
[src]
impl Copy for HaltCondition
[src]
impl Clone for HaltCondition
[src]
fn clone(&self) -> HaltCondition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more