remove_ids

API definition

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

Function

Deletes specified feature vectors from the AscendIndexIVFSP database.

Input

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

Output

N/A

Return value

Returns the number of deleted feature vectors.

Restrictions

N/A