pub enum WeightComponentRole {
Values,
PackedValues,
Scales,
ZeroPoints,
Indices,
Permutation,
Codebook,
Metadata,
}Expand description
Structural role of a physical component in a weight format. The role is intentionally independent of any named quantization or model family.
Variants§
Trait Implementations§
Source§impl Clone for WeightComponentRole
impl Clone for WeightComponentRole
Source§fn clone(&self) -> WeightComponentRole
fn clone(&self) -> WeightComponentRole
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 WeightComponentRole
Source§impl Debug for WeightComponentRole
impl Debug for WeightComponentRole
Source§impl<'de> Deserialize<'de> for WeightComponentRole
impl<'de> Deserialize<'de> for WeightComponentRole
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
impl Eq for WeightComponentRole
Source§impl PartialEq for WeightComponentRole
impl PartialEq for WeightComponentRole
Source§impl Serialize for WeightComponentRole
impl Serialize for WeightComponentRole
impl StructuralPartialEq for WeightComponentRole
Auto Trait Implementations§
impl Freeze for WeightComponentRole
impl RefUnwindSafe for WeightComponentRole
impl Send for WeightComponentRole
impl Sync for WeightComponentRole
impl Unpin for WeightComponentRole
impl UnsafeUnpin for WeightComponentRole
impl UnwindSafe for WeightComponentRole
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