copyTo

API definition

void copyTo(faiss::IndexIVF* index) const;

Function

Copies the retrieval resources of AscendIndexIVF to the CPU.

Input

faiss::IndexIVF* index: index resources on the CPU.

Output

N/A

Return value

N/A

Restrictions

index must be a valid CPU Index pointer. The resources occupied by the Index are destroyed by the user.