pub type LearningRate = f64;Expand description
Type alias for the learning rate.
LearningRate also implements learning rate scheduler so it can be used for constant learning rate.
Trait Implementations§
Source§impl LrScheduler for LearningRate
Available on crate feature std only.
impl LrScheduler for LearningRate
Available on crate feature
std only.Source§type Record<B: Backend> = ()
type Record<B: Backend> = ()
Scheduler associative type to be used when saving and loading the state.
Source§fn step(&mut self) -> LearningRate
fn step(&mut self) -> LearningRate
Perform the scheduler step, potentially updating its state, and returning the effective
learning rate.