#[repr(u32)]pub enum FaissQuantizerType {
QT_8bit = 0,
QT_4bit = 1,
QT_8bit_uniform = 2,
QT_4bit_uniform = 3,
QT_fp16 = 4,
QT_8bit_direct = 5,
QT_6bit = 6,
}Variants§
QT_8bit = 0
< 8 bits per component
QT_4bit = 1
< 4 bits per component
QT_8bit_uniform = 2
< same, shared range for all dimensions
QT_4bit_uniform = 3
QT_fp16 = 4
QT_8bit_direct = 5
< fast indexing of uint8s
QT_6bit = 6
< 6 bits per component
Trait Implementations§
Source§impl Clone for FaissQuantizerType
impl Clone for FaissQuantizerType
Source§fn clone(&self) -> FaissQuantizerType
fn clone(&self) -> FaissQuantizerType
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 FaissQuantizerType
impl Debug for FaissQuantizerType
Source§impl Hash for FaissQuantizerType
impl Hash for FaissQuantizerType
Source§impl PartialEq for FaissQuantizerType
impl PartialEq for FaissQuantizerType
impl Copy for FaissQuantizerType
impl Eq for FaissQuantizerType
impl StructuralPartialEq for FaissQuantizerType
Auto Trait Implementations§
impl Freeze for FaissQuantizerType
impl RefUnwindSafe for FaissQuantizerType
impl Send for FaissQuantizerType
impl Sync for FaissQuantizerType
impl Unpin for FaissQuantizerType
impl UnwindSafe for FaissQuantizerType
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