Neighbors Ivf Flat Module
Rust module: cuvs::neighbors::ivf_flat
Source: rust/cuvs/src/neighbors/ivf_flat/mod.rs
IVF-Flat: an inverted-file index over uncompressed (“flat”) vectors. It
partitions the dataset into n_lists clusters and, at query time, scans only
the n_probes closest clusters — a simple knob to trade recall for speed.
Build an [Index] from a dataset, then search it with
device-resident queries and output buffers. Tensors are borrowed through the
AsDlTensor / AsDlTensorMut traits; see the dlpack
module for the tensor model and examples/cagra.rs for the same build/search
workflow.
crate::neighbors::filters::{Bitset, Filter}
Source: rust/cuvs/src/neighbors/ivf_flat/mod.rs:19
index::Index
Source: rust/cuvs/src/neighbors/ivf_flat/mod.rs:20
params::{IndexParams, SearchParams}
Source: rust/cuvs/src/neighbors/ivf_flat/mod.rs:21
IvfFlatError
Error type for IVF-Flat operations.
Source: rust/cuvs/src/neighbors/ivf_flat/mod.rs:29