oa::ml::optim::Optimizer
Common behavior exposed by an OA optimizer to training policy. This contract deliberately excludes captured-program and persistence internals. Those capabilities depend on optimizer-specific state and are admitted separately only when their complete implementation exists.
Declaration
pub trait Optimizer { // Required methods fn zero_grad(&self); fn step(&mut self) -> Result<()>; fn learning_rate(&self) -> f32; fn set_learning_rate(&mut self, learning_rate: f32) -> Result<()>; fn step_count(&self) -> u64; fn belongs_to(&self, engine: &Engine) -> bool; }Public Rust declaration.
Public Methods
Public Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.