Abstract
Byte size of each encoded vector.
Encoded dataset, size ntotal * codeSize.
The dimensionality of vectors.
Vector identifiers, size ntotal.
The type of index.
returns a boolean that indicates whether training is required.
Whether training is required.
Argument of the metric type.
The metric of the index.
The number of verctors currently indexed.
Add n vectors of dimension d to the index using the provided labels.
Input matrix, size n * d
Vector identifiers
Add n vectors of dimension d to the index with ID's.
Input matrix, size n * d
Vector identifiers
Merge the current index with another Index instance.
The other Index instance to merge from.
Query n vectors of dimension d to the index. return at most k vectors. If there are not enough results for a query, the result array is padded with -1s.
Input vectors to search, size n * d.
The number of nearest neighbors to search for.
Output of the search result.
Static
fromStatic
fromStatic
readGenerated using TypeDoc
IndexFlat Abstract Index.