文档
注册

AscendIndexIVFSQ

API定义

AscendIndexIVFSQ(const faiss::IndexIVFScalarQuantizer *index, AscendIndexIVFSQConfig config = AscendIndexIVFSQConfig())

功能描述

AscendIndexIVFSQ的构造函数,基于一个已有的index创建Ascend上的检索Index。

输入

const faiss::IndexIVFScalarQuantizer *index:CPU侧资源配置。

AscendIndexIVFSQConfig config:Device侧资源配置。

输出

返回值

约束说明

“index”需要为合法有效的CPUindex指针。

搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词