AscendIndexIVFSQT
API Definition |
AscendIndexIVFSQT(const faiss::IndexIVFScalarQuantizer *index, AscendIndexIVFSQTConfig config = AscendIndexIVFSQTConfig()) |
|---|---|
Function |
Constructor of AscendIndexIVFSQT, which is used to create a retrieval index on the Ascend based on an existing index. |
Input |
const faiss::IndexIVFScalarQuantizer *index: resource configuration on the CPU. AscendIndexIVFSQTConfig config: resource configuration on the NPU. |
Output |
N/A |
Return Value |
N/A |
Restrictions |
|
Parent topic: AscendIndexIVFSQT