pub enum GgmlEncoding {
F32,
F16,
Q4_0,
Q4_1,
Q4K,
Q5K,
Q6K,
Q8_0,
Bf16,
Opaque {
code: u32,
},
}Expand description
Recognized GGML element and block encodings; unknown numeric codes are preserved.
Variants§
Trait Implementations§
Source§impl Clone for GgmlEncoding
impl Clone for GgmlEncoding
Source§fn clone(&self) -> GgmlEncoding
fn clone(&self) -> GgmlEncoding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GgmlEncoding
Source§impl Debug for GgmlEncoding
impl Debug for GgmlEncoding
Source§impl<'de> Deserialize<'de> for GgmlEncoding
impl<'de> Deserialize<'de> for GgmlEncoding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GgmlEncoding
impl RefUnwindSafe for GgmlEncoding
impl Send for GgmlEncoding
impl Sync for GgmlEncoding
impl Unpin for GgmlEncoding
impl UnsafeUnpin for GgmlEncoding
impl UnwindSafe for GgmlEncoding
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