index_ascend_to_cpu
| API定义 | faiss::Index *index_ascend_to_cpu(const faiss::Index *ascend_index); | 
|---|---|
| 功能描述 | 根据Ascend上的检索index资源,拷贝生成一个CPU上的检索Index。 | 
| 输入 | const faiss::Index *ascend_index:Ascend上的Index资源。 | 
| 输出 | 无 | 
| 返回值 | 生成一个CPU上的检索Index。 | 
| 约束说明 | 使用完毕该“index”后请注意delete掉此指针,释放对应的空间。 | 
父主题: AscendCloner