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