Skip to main content

cuvsNNDescentIndexGetGraph

Function cuvsNNDescentIndexGetGraph 

Source
pub unsafe extern "C" fn cuvsNNDescentIndexGetGraph(
    res: cuvsResources_t,
    index: cuvsNNDescentIndex_t,
    graph: *mut DLManagedTensor,
) -> cuvsError_t
Expand description

@brief Get the KNN graph from a built NN-Descent index

@param[in] res cuvsResources_t opaque C handle @param[in] index cuvsNNDescentIndex_t Built NN-Descent index @param[out] graph Preallocated graph on host memory to store output @return cuvsError_t