Optimizer

Trait Optimizer 

Source
pub trait Optimizer {
    // Required method
    fn update(&self, parameters: Vec<&mut Array>);
}
Expand description

An optimizer, which updates the parameters of a model.

Required Methods§

Source

fn update(&self, parameters: Vec<&mut Array>)

Updates the parameters. It is critical that the order of the parameters remains the same between calls.

Implementors§