pub enum Lr {
CosineAnnealing(CosineAnnealingLr),
Constant(ConstantLr),
}Variants§
CosineAnnealing(CosineAnnealingLr)
Constant(ConstantLr)
Implementations§
Trait Implementations§
Source§impl Config for Lr
impl Config for Lr
§fn load_binary(data: &[u8]) -> Result<Self, ConfigError>
fn load_binary(data: &[u8]) -> Result<Self, ConfigError>
Loads the configuration from a binary buffer. Read more
Source§impl<'de> Deserialize<'de> for Lr
impl<'de> Deserialize<'de> for Lr
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Lr
impl RefUnwindSafe for Lr
impl Send for Lr
impl Sync for Lr
impl Unpin for Lr
impl UnsafeUnpin for Lr
impl UnwindSafe for Lr
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