OptimizationLearner

Trait OptimizationLearner 

Source
pub trait OptimizationLearner {
    // Required method
    fn update_from_batch(
        &mut self,
        batch: &[Experience],
    ) -> Result<Float, Box<dyn Error>>;
}
Expand description

Trait for optimizers that can learn from experience

Required Methods§

Source

fn update_from_batch( &mut self, batch: &[Experience], ) -> Result<Float, Box<dyn Error>>

Implementors§