-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Labels
feature requestNew feature or requestNew feature or request
Description
Brute force supports multiple metrics, but only a few are exposed through the all-neighbors api.
cuvs/cpp/src/neighbors/all_neighbors/all_neighbors.cuh
Lines 32 to 39 in 0cae1a6
| auto allowed_metrics = params.metric == cuvs::distance::DistanceType::L2Expanded || | |
| params.metric == cuvs::distance::DistanceType::L2SqrtExpanded || | |
| params.metric == cuvs::distance::DistanceType::CosineExpanded || | |
| params.metric == cuvs::distance::DistanceType::InnerProduct; | |
| RAFT_EXPECTS(allowed_metrics, | |
| "Distance metric for all-neighbors build with brute force should be L2Expanded, " | |
| "L2SqrtExpanded, CosineExpanded, or InnerProduct."); | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or request
Type
Projects
Status
Todo