pub struct Adam { /* private fields */ }Expand description
Adaptive moment estimation gradient descent.
https://arxiv.org/pdf/1412.6980.pdf
Implementations§
Trait Implementations§
Source§impl Optimiser for Adam
impl Optimiser for Adam
fn step_scaled( &mut self, weights: &mut ArrayBase<ViewRepr<&mut f64>, Dim<[usize; 1]>>, features: &Features, scale_factor: f64, ) -> Result<(), Error>
fn reset(&mut self)
fn step( &mut self, weights: &mut ArrayBase<ViewRepr<&mut f64>, Dim<[usize; 1]>>, grad: &G, ) -> Result<(), Error>
impl StructuralPartialEq for Adam
Auto Trait Implementations§
impl Freeze for Adam
impl RefUnwindSafe for Adam
impl Send for Adam
impl Sync for Adam
impl Unpin for Adam
impl UnsafeUnpin 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