pub struct StepLR { /* private fields */ }
Expand description
Step decay scheduler: multiply LR by gamma every step_size epochs
Implementations§
Trait Implementations§
Source§impl LearningRateScheduler for StepLR
impl LearningRateScheduler for StepLR
Auto Trait Implementations§
impl Freeze for StepLR
impl RefUnwindSafe for StepLR
impl Send for StepLR
impl Sync for StepLR
impl Unpin for StepLR
impl UnwindSafe for StepLR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more