copyTo

API Definition

void copyTo(faiss::PCAMatrix *cpuTrans) const

Function

Copies the vector transformation of AscendPCAMatrix to the CPU.

Input

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

Output

N/A

Return Value

N/A

Restrictions

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