Scann
Source header: cuvs/neighbors/scann.hpp
ScaNN index build parameters
neighbors::experimental::scann::index_params
ANN parameters used by ScaNN to build index
Fields
ScaNN index type
neighbors::experimental::scann::index
ScaNN index.
The index stores the dataset and the ScaNN graph in device memory.
neighbors::experimental::scann::index::metric
Distance metric used for clustering.
Returns
neighbors::experimental::scann::index::size
Total length of the index (number of vectors).
Returns
IdxT
neighbors::experimental::scann::index::dim
Dimensionality of the data.
Returns
uint32_t
ScaNN index build functions
neighbors::experimental::scann::build
Build the index from the dataset for efficient search.
Parameters
Returns
cuvs::neighbors::experimental::scann::index<float, int64_t>
neighbors::experimental::scann::serialize
Save the index to files in a directory
This serializes the index into a list of files for integration into OSS ScaNN for use with search
NOTE: the implementation of ScaNN index build is EXPERIMENTAL and currently not subject to comprehensive, automated testing. Accuracy and performance are not guaranteed, and could diverge without warning.
Parameters
Returns
void
ScaNN serialize functions
Additional overload: neighbors::experimental::scann::serialize
Save the index to files in a directory
This serializes the index into a list of files for integration into OSS ScaNN for use with search
NOTE: the implementation of ScaNN index build is EXPERIMENTAL and currently not subject to comprehensive, automated testing. Accuracy and performance are not guaranteed, and could diverge without warning.
Parameters
Returns
void