faiss_IndexFlat_compute_distance_subset

compute distance with a subset of vectors

@param index opaque pointer to index object @param x query vectors, size n * d @param labels indices of the vectors that should be compared for each query vector, size n * k @param distances corresponding output distances, size n * k

extern (C)
int
faiss_IndexFlat_compute_distance_subset
(,,
const(float)* x
,,
float* distances
,
const(idx_t)* labels
)

Meta