pub struct QuantizerConfig {
pub bits: u8,
pub clip_sigma: f32,
pub rotation_seed: u64,
pub qjl_seed: u64,
pub use_qjl_residual: bool,
}Fields§
§bits: u8§clip_sigma: f32§rotation_seed: u64§qjl_seed: u64§use_qjl_residual: boolImplementations§
Trait Implementations§
Source§impl Clone for QuantizerConfig
impl Clone for QuantizerConfig
Source§fn clone(&self) -> QuantizerConfig
fn clone(&self) -> QuantizerConfig
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 QuantizerConfig
Source§impl Debug for QuantizerConfig
impl Debug for QuantizerConfig
Auto Trait Implementations§
impl Freeze for QuantizerConfig
impl RefUnwindSafe for QuantizerConfig
impl Send for QuantizerConfig
impl Sync for QuantizerConfig
impl Unpin for QuantizerConfig
impl UnsafeUnpin for QuantizerConfig
impl UnwindSafe for QuantizerConfig
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