pub struct SgdState<B: Backend, const D: usize> { /* private fields */ }Expand description
State of Sgd.
Implementations§
Trait Implementations§
source§impl<B: Backend, const D: usize> Record<B> for SgdState<B, D>
impl<B: Backend, const D: usize> Record<B> for SgdState<B, D>
§type Item<S: PrecisionSettings> = SgdStateItem<B, D, S>
type Item<S: PrecisionSettings> = SgdStateItem<B, D, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<B, const D: usize> RefUnwindSafe for SgdState<B, D>
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>
impl<B, const D: usize> UnwindSafe for SgdState<B, D>
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