Struct burn_core::optim::AdaptiveMomentumState
source · pub struct AdaptiveMomentumState<B: Backend, const D: usize> { /* private fields */ }Implementations§
source§impl<B: Backend, const D: usize> AdaptiveMomentumState<B, D>
impl<B: Backend, const D: usize> AdaptiveMomentumState<B, D>
Trait Implementations§
source§impl<B: Clone + Backend, const D: usize> Clone for AdaptiveMomentumState<B, D>
impl<B: Clone + Backend, const D: usize> Clone for AdaptiveMomentumState<B, D>
source§fn clone(&self) -> AdaptiveMomentumState<B, D>
fn clone(&self) -> AdaptiveMomentumState<B, D>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<B: Backend, const D: usize> Record for AdaptiveMomentumState<B, D>
impl<B: Backend, const D: usize> Record for AdaptiveMomentumState<B, D>
type Item<S: PrecisionSettings> = AdaptiveMomentumStateItem<B, D, S>
source§fn into_item<S: PrecisionSettings>(self) -> Self::Item<S>
fn into_item<S: PrecisionSettings>(self) -> Self::Item<S>
Convert the current record into the corresponding item that follows the given settings.
source§fn from_item<S: PrecisionSettings>(item: Self::Item<S>) -> Self
fn from_item<S: PrecisionSettings>(item: Self::Item<S>) -> Self
Convert the given item into a record.
Auto Trait Implementations§
impl<B, const D: usize> RefUnwindSafe for AdaptiveMomentumState<B, D>where <B as Backend>::TensorPrimitive<D>: RefUnwindSafe,
impl<B, const D: usize> Send for AdaptiveMomentumState<B, D>
impl<B, const D: usize> Sync for AdaptiveMomentumState<B, D>
impl<B, const D: usize> Unpin for AdaptiveMomentumState<B, D>where <B as Backend>::TensorPrimitive<D>: Unpin,
impl<B, const D: usize> UnwindSafe for AdaptiveMomentumState<B, D>where <B as Backend>::TensorPrimitive<D>: UnwindSafe,
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