Rust module: cuvs::ivf_pq::index
Source: rust/cuvs/src/ivf_pq/index.rs
Ivf-Pq ANN Index
Methods
Builds a new Index from the dataset for efficient search.
res - Resources to useparams - Parameters for building the indexdataset - A row-major matrix on either the host or device to indexSource: rust/cuvs/src/ivf_pq/index.rs:25
Creates a new empty index
Source: rust/cuvs/src/ivf_pq/index.rs:39
Perform a Approximate Nearest Neighbors search on the Index
res - Resources to useparams - Parameters to use in searching the indexqueries - A matrix in device memory to query forneighbors - Matrix in device memory that receives the indices of the nearest neighborsdistances - Matrix in device memory that receives the distances of the nearest neighborsSource: rust/cuvs/src/ivf_pq/index.rs:56
Source: rust/cuvs/src/ivf_pq/index.rs:15