pub struct QT {
pub s: u32,
pub k: Vec<i32>,
}Expand description
A quantized tensor: values k · 2^{−s}.
Fields§
§s: u32Exponent: value = k / 2^s.
k: Vec<i32>Integer mantissas.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QT
impl RefUnwindSafe for QT
impl Send for QT
impl Sync for QT
impl Unpin for QT
impl UnsafeUnpin for QT
impl UnwindSafe for QT
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