copyTo

API Definition

void copyTo(faiss::LinearTransform *cpuTrans) const

Function

Copies the vector transformation of AscendLienarTransform to the CPU.

Input

faiss::LinearTransform *cpuTrans: linear transformation on the CPU.

Output

N/A

Return Value

N/A

Restrictions

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