NN Descent
Source header: cuvs/neighbors/nn_descent.h
Types
cuvsNNDescentDistCompDtype
Dtype to use for distance computation
Values
The nn-descent algorithm parameters.
cuvsNNDescentIndexParams
Parameters used to build an nn-descent index
Fields
cuvsNNDescentIndexParamsCreate
Allocate NN-Descent Index params, and populate with default values
Parameters
Returns
cuvsNNDescentIndexParamsDestroy
De-allocate NN-Descent Index params
Parameters
Returns
NN-Descent index
cuvsNNDescentIndex
Struct to hold address of cuvs::neighbors::nn_descent::index and its active trained dtype
Fields
cuvsNNDescentIndexCreate
Allocate NN-Descent index
Parameters
Returns
cuvsNNDescentIndexDestroy
De-allocate NN-Descent index
Parameters
Returns
NN-Descent index build
cuvsNNDescentBuild
Build a NN-Descent index with a DLManagedTensor which has underlying
DLDeviceType equal to kDLCUDA, kDLCUDAHost, kDLCUDAManaged, or kDLCPU. Also, acceptable underlying types are:
kDLDataType.code == kDLFloatandkDLDataType.bits = 32kDLDataType.code == kDLFloatandkDLDataType.bits = 16kDLDataType.code == kDLIntandkDLDataType.bits = 8kDLDataType.code == kDLUIntandkDLDataType.bits = 8
Parameters
Returns