copyTo

API definition

void copyTo(faiss::IndexIVFScalarQuantizer *index);

Function

Copies the retrieval resources of AscendIndexIVFSQT to the CPU.

Input

faiss::IndexIVFScalarQuantizer *index: index resource 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.