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

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