pub enum SrcDtype {
F32,
F16,
BF16,
}Expand description
Source dtype of raw checkpoint tensor bytes.
Variants§
Implementations§
Trait Implementations§
impl Copy for SrcDtype
impl Eq for SrcDtype
impl StructuralPartialEq for SrcDtype
Auto Trait Implementations§
impl Freeze for SrcDtype
impl RefUnwindSafe for SrcDtype
impl Send for SrcDtype
impl Sync for SrcDtype
impl Unpin for SrcDtype
impl UnsafeUnpin for SrcDtype
impl UnwindSafe for SrcDtype
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.