copyFrom
API definition |
void copyFrom(const faiss::IndexIVFScalarQuantizer *index); |
|---|---|
Function |
Copies AscendIndexIVSQT to the Ascend based on an existing index and retains the resource configuration on the device of the original AscendIndex. |
Input |
const faiss::IndexIVFScalarQuantizer* index: index resources on the CPU. |
Output |
N/A |
Return value |
N/A |
Restrictions |
index must be a valid CPU Index pointer.
|
Parent topic: AscendIndexIVFSQT