#include <knn.hpp>
Public Member Functions | |
knnIndex () | |
~knnIndex () | |
Public Attributes | |
ML::distance::DistanceType | metric |
float | metricArg |
int | nprobe |
std::unique_ptr< raft::spatial::knn::MetricProcessor< float > > | metric_processor |
int | device |
std::unique_ptr< knnIndexImpl > | pimpl |
ML::knnIndex::knnIndex | ( | ) |
ML::knnIndex::~knnIndex | ( | ) |
int ML::knnIndex::device |
ML::distance::DistanceType ML::knnIndex::metric |
std::unique_ptr<raft::spatial::knn::MetricProcessor<float> > ML::knnIndex::metric_processor |
float ML::knnIndex::metricArg |
int ML::knnIndex::nprobe |
std::unique_ptr<knnIndexImpl> ML::knnIndex::pimpl |