copyFrom
API定义 |
void copyFrom(const faiss::IndexIVFScalarQuantizer* index); |
---|---|
功能描述 |
AscendIndexInt8IVF基于一个已有的“index”拷贝到Ascend,并保持原有的AscendIndex的NPU侧资源配置。 |
输入 |
const faiss::IndexIVFScalarQuantizer* index:CPU侧Index资源。 |
输出 |
无 |
返回值 |
无 |
约束说明 |
“index”需要为合法有效的CPUindex指针。 |
父主题: AscendIndexInt8IVF