pub struct MuonState<B: Backend, const D: usize> {
pub momentum: MomentumState<B, D>,
}Expand description
Muon state.
Fields§
§momentum: MomentumState<B, D>Current momentum state
Implementations§
Trait Implementations§
Source§impl<B: Backend, const D: usize> Record<B> for MuonState<B, D>
impl<B: Backend, const D: usize> Record<B> for MuonState<B, D>
Source§type Item<S: PrecisionSettings> = MuonStateItem<B, D, S>
type Item<S: PrecisionSettings> = MuonStateItem<B, D, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<B, const D: usize> Freeze for MuonState<B, D>where
<B as Backend>::FloatTensorPrimitive: Freeze,
<B as Backend>::QuantizedTensorPrimitive: Freeze,
impl<B, const D: usize> RefUnwindSafe for MuonState<B, D>where
<B as Backend>::FloatTensorPrimitive: RefUnwindSafe,
<B as Backend>::QuantizedTensorPrimitive: RefUnwindSafe,
impl<B, const D: usize> Send for MuonState<B, D>
impl<B, const D: usize> Sync for MuonState<B, D>
impl<B, const D: usize> Unpin for MuonState<B, D>
impl<B, const D: usize> UnwindSafe for MuonState<B, D>where
<B as Backend>::FloatTensorPrimitive: UnwindSafe,
<B as Backend>::QuantizedTensorPrimitive: 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