Public Member Functions | Public Attributes | List of all members
ML::knnIndex Struct Reference

#include <knn.hpp>

Collaboration diagram for ML::knnIndex:
Collaboration graph

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
 

Constructor & Destructor Documentation

◆ knnIndex()

ML::knnIndex::knnIndex ( )

◆ ~knnIndex()

ML::knnIndex::~knnIndex ( )

Member Data Documentation

◆ device

int ML::knnIndex::device

◆ metric

ML::distance::DistanceType ML::knnIndex::metric

◆ metric_processor

std::unique_ptr<raft::spatial::knn::MetricProcessor<float> > ML::knnIndex::metric_processor

◆ metricArg

float ML::knnIndex::metricArg

◆ nprobe

int ML::knnIndex::nprobe

◆ pimpl

std::unique_ptr<knnIndexImpl> ML::knnIndex::pimpl

The documentation for this struct was generated from the following file: