pub enum StepSizes {
Global,
PerCoordinate,
}Expand description
How many step sizes each individual carries.
Variants§
Global
One σ, mutated with learning rate τ = 1/sqrt(n).
PerCoordinate
One σ per coordinate, with τ' = 1/sqrt(2n) (global factor) and
τ = 1/sqrt(2 sqrt(n)) (per coordinate).
Trait Implementations§
impl Copy for StepSizes
impl Eq for StepSizes
impl StructuralPartialEq for StepSizes
Auto Trait Implementations§
impl Forget for StepSizes
impl Freeze for StepSizes
impl Move for StepSizes
impl RefUnwindSafe for StepSizes
impl Send for StepSizes
impl Sync for StepSizes
impl Unpin for StepSizes
impl UnsafeUnpin for StepSizes
impl UnwindSafe for StepSizes
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