pub struct ActivationQuantization { /* private fields */ }Expand description
2026-09-30: A parsed --activation-quantization value.
Implementations§
Source§impl ActivationQuantization
impl ActivationQuantization
Sourcepub fn uniform(format: ActQuantFormat) -> Self
pub fn uniform(format: ActQuantFormat) -> Self
2026-09-30: One format for every family and row count.
pub fn parse(s: &str) -> Result<Self>
Sourcepub fn ladder(&self, family: ProjFamily) -> &Ladder
pub fn ladder(&self, family: ProjFamily) -> &Ladder
2026-09-30: The ladder family runs.
Sourcepub fn route(&self, family: ProjFamily, rows: u32) -> ActQuantFormat
pub fn route(&self, family: ProjFamily, rows: u32) -> ActQuantFormat
2026-09-30: The format a family projection of rows rows runs.
Sourcepub fn is_adaptive(&self) -> bool
pub fn is_adaptive(&self) -> bool
2026-09-30: Whether every family runs adaptive at every row count (today’s routing).
Sourcepub fn is_invariant(&self, family: ProjFamily) -> bool
pub fn is_invariant(&self, family: ProjFamily) -> bool
2026-09-30: Whether family is row-invariant: one non-adaptive format at every row
count.
Trait Implementations§
Source§impl Clone for ActivationQuantization
impl Clone for ActivationQuantization
Source§fn clone(&self) -> ActivationQuantization
fn clone(&self) -> ActivationQuantization
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActivationQuantization
impl Debug for ActivationQuantization
Source§impl Default for ActivationQuantization
impl Default for ActivationQuantization
Source§impl Display for ActivationQuantization
impl Display for ActivationQuantization
Source§impl PartialEq for ActivationQuantization
impl PartialEq for ActivationQuantization
impl Eq for ActivationQuantization
impl StructuralPartialEq for ActivationQuantization
Auto Trait Implementations§
impl Freeze for ActivationQuantization
impl RefUnwindSafe for ActivationQuantization
impl Send for ActivationQuantization
impl Sync for ActivationQuantization
impl Unpin for ActivationQuantization
impl UnwindSafe for ActivationQuantization
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
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
Checks if this value is equivalent to the given key. Read more
§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.