#[repr(C)]pub struct cuvsProductQuantizer {
pub addr: usize,
pub dtype: DLDataType,
}Expand description
@brief Defines and stores product quantizer upon training
The quantization is performed by a linear mapping of an interval in the float data type to the full range of the quantized int type.
Fields§
§addr: usize§dtype: DLDataTypeTrait Implementations§
Source§impl Clone for cuvsProductQuantizer
impl Clone for cuvsProductQuantizer
Source§fn clone(&self) -> cuvsProductQuantizer
fn clone(&self) -> cuvsProductQuantizer
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 cuvsProductQuantizer
Auto Trait Implementations§
impl Freeze for cuvsProductQuantizer
impl RefUnwindSafe for cuvsProductQuantizer
impl Send for cuvsProductQuantizer
impl Sync for cuvsProductQuantizer
impl Unpin for cuvsProductQuantizer
impl UnsafeUnpin for cuvsProductQuantizer
impl UnwindSafe for cuvsProductQuantizer
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