#[repr(C)]pub struct cuvsNNDescentIndexParams {
pub metric: cuvsDistanceType,
pub metric_arg: f32,
pub graph_degree: usize,
pub intermediate_graph_degree: usize,
pub max_iterations: usize,
pub termination_threshold: f32,
pub return_distances: bool,
pub dist_comp_dtype: cuvsNNDescentDistCompDtype,
}Fields§
§metric: cuvsDistanceType§metric_arg: f32§graph_degree: usize§intermediate_graph_degree: usize§max_iterations: usize§termination_threshold: f32§return_distances: bool§dist_comp_dtype: cuvsNNDescentDistCompDtypeTrait Implementations§
Source§impl Clone for cuvsNNDescentIndexParams
impl Clone for cuvsNNDescentIndexParams
impl Copy for cuvsNNDescentIndexParams
Auto Trait Implementations§
impl Freeze for cuvsNNDescentIndexParams
impl RefUnwindSafe for cuvsNNDescentIndexParams
impl Send for cuvsNNDescentIndexParams
impl Sync for cuvsNNDescentIndexParams
impl Unpin for cuvsNNDescentIndexParams
impl UnsafeUnpin for cuvsNNDescentIndexParams
impl UnwindSafe for cuvsNNDescentIndexParams
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