remove_ids

API Definition

size_t remove_ids(const faiss::IDSelector &sel)

Function

Deletes the APIs of specified feature vectors in the base library for AscendIndexInt8.

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