Enum ScaleLayout
#[repr(u8)]pub enum ScaleLayout {
None = 0,
GgmlQ4K = 1,
}Expand description
How packed scales are stored in the payload.
Variants§
None = 0
Dense f32 has no separate scale plane.
GgmlQ4K = 1
GGML Q4_K: f16 d/dmin plus 12-byte 6-bit packed sub-scales (get_scale_min_k4).
Trait Implementations§
§impl Clone for ScaleLayout
impl Clone for ScaleLayout
§fn clone(&self) -> ScaleLayout
fn clone(&self) -> ScaleLayout
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 ScaleLayout
§impl Debug for ScaleLayout
impl Debug for ScaleLayout
impl Eq for ScaleLayout
§impl PartialEq for ScaleLayout
impl PartialEq for ScaleLayout
impl StructuralPartialEq for ScaleLayout
Auto Trait Implementations§
impl Freeze for ScaleLayout
impl RefUnwindSafe for ScaleLayout
impl Send for ScaleLayout
impl Sync for ScaleLayout
impl Unpin for ScaleLayout
impl UnsafeUnpin for ScaleLayout
impl UnwindSafe for ScaleLayout
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