pub struct SgdState<B: Backend, const D: usize> { /* private fields */ }Implementations§
Trait Implementations§
source§impl<B: Backend, const D: usize> Record for SgdState<B, D>
impl<B: Backend, const D: usize> Record for SgdState<B, D>
type Item<S: PrecisionSettings> = SgdStateItem<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 SgdState<B, D>where <B as Backend>::TensorPrimitive<D>: RefUnwindSafe,
impl<B, const D: usize> Send for SgdState<B, D>
impl<B, const D: usize> Sync for SgdState<B, D>
impl<B, const D: usize> Unpin for SgdState<B, D>where <B as Backend>::TensorPrimitive<D>: Unpin,
impl<B, const D: usize> UnwindSafe for SgdState<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