#[repr(C)]pub struct cuvsProductQuantizerParams {
pub pq_bits: u32,
pub pq_dim: u32,
pub use_subspaces: bool,
pub use_vq: bool,
pub vq_n_centers: u32,
pub kmeans_n_iters: u32,
pub pq_kmeans_type: cuvsKMeansType,
pub max_train_points_per_pq_code: u32,
pub max_train_points_per_vq_cluster: u32,
}Fields§
§pq_bits: u32§pq_dim: u32§use_subspaces: bool§use_vq: bool§vq_n_centers: u32§kmeans_n_iters: u32§pq_kmeans_type: cuvsKMeansType§max_train_points_per_pq_code: u32§max_train_points_per_vq_cluster: u32Trait Implementations§
Source§impl Clone for cuvsProductQuantizerParams
impl Clone for cuvsProductQuantizerParams
Source§fn clone(&self) -> cuvsProductQuantizerParams
fn clone(&self) -> cuvsProductQuantizerParams
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 cuvsProductQuantizerParams
Auto Trait Implementations§
impl Freeze for cuvsProductQuantizerParams
impl RefUnwindSafe for cuvsProductQuantizerParams
impl Send for cuvsProductQuantizerParams
impl Sync for cuvsProductQuantizerParams
impl Unpin for cuvsProductQuantizerParams
impl UnsafeUnpin for cuvsProductQuantizerParams
impl UnwindSafe for cuvsProductQuantizerParams
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