pub struct AdamW {
pub beta1: f64,
pub beta2: f64,
pub wd: f64,
pub eps: f64,
pub amsgrad: bool,
}
Expand description
Parameters for the AdamW optimizer.
Fields§
§beta1: f64
§beta2: f64
§wd: f64
§eps: f64
§amsgrad: bool
Implementations§
Trait Implementations§
source§impl OptimizerConfig for AdamW
impl OptimizerConfig for AdamW
impl Copy for AdamW
Auto Trait Implementations§
impl RefUnwindSafe for AdamW
impl Send for AdamW
impl Sync for AdamW
impl Unpin for AdamW
impl UnwindSafe for AdamW
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