Trait corgi::optimizer::Optimizer[][src]

pub trait Optimizer {
    fn update(&self, parameters: Vec<&mut Array>);
}

An optimizer, which updates the parameters of a model.

Required methods

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

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

Loading content...

Implementors

impl Optimizer for GradientDescent[src]

Loading content...