AscendIndexIVFSQC
API定义 |
AscendIndexIVFSQC(const faiss::IndexIVFScalarQuantizer *index, AscendIndexIVFSQCConfig config = AscendIndexIVFSQCConfig()) |
---|---|
功能描述 |
AscendIndexIVFSQC的构造函数,基于一个已有的“index”创建Ascend上的检索Index。 |
输入 |
const faiss::IndexIVFScalarQuantizer *index:CPU侧资源配置。 AscendIndexIVFSQCConfig config:NPU侧资源配置。 |
输出 |
无 |
返回值 |
无 |
约束说明 |
|
父主题: AscendIndexIVFSQC