pub struct QParams<S> {
pub scales: S,
}Expand description
The quantization tensor data parameters.
Fields§
§scales: SThe scaling factor.
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for QParams<S>where
S: Freeze,
impl<S> RefUnwindSafe for QParams<S>where
S: RefUnwindSafe,
impl<S> Send for QParams<S>where
S: Send,
impl<S> Sync for QParams<S>where
S: Sync,
impl<S> Unpin for QParams<S>where
S: Unpin,
impl<S> UnwindSafe for QParams<S>where
S: UnwindSafe,
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