copyFrom
API Definition |
void copyFrom(const faiss::IndexIVFScalarQuantizer *index) |
|---|---|
Function |
Copies AscendIndexIVFSQFuzzy to the Ascend based on an existing index and retains the resource configuration on the NPU of the original AscendIndex. |
Input |
const faiss::IndexIVFSQ *index: index resources on the CPU. |
Output |
N/A |
Return Value |
N/A |
Restrictions |
The index must be a valid CPUindex pointer. The member variables of the index must meet the following requirements:
|
Parent topic: AscendIndexIVFSQFuzzy