remove_ids

API Definition

size_t remove_ids(const faiss::IDSelector &sel) override

Function

Rewrite the remove function to delete the specified feature vectors from the base library of AscendIndex during fuzzy bucket division.

Input

const faiss::IDSelector &sel: feature vectors to be deleted. For details about its usage and definition, see the related description in Faiss.

Output

N/A

Return Value

Returns the number of deleted feature vectors.

Restrictions

N/A