Trait engram::optimizer::Optimizer

source ·
pub trait Optimizer: Debug {
    // Required method
    fn step(&mut self, weights: &mut Tensor, gradients: &Tensor);
}

Required Methods§

source

fn step(&mut self, weights: &mut Tensor, gradients: &Tensor)

Implementors§