功能介绍
AscendIndexIVF需要使用对应的AscendIndexIVFConfig执行对应资源的初始化。
成员介绍
成员  | 
类型  | 
说明  | 
|---|---|---|
flatConfig  | 
AscendIndexConfig  | 
参数配置对象。  | 
useKmeansPP  | 
bool  | 
是否使用NPU加速IVF聚类过程。  | 
cp  | 
ClusteringParameters  | 
聚类相关参数,具体可以参见Faiss相关接口说明。 不建议修改此参数,其中训练迭代次数参数默认为16。迭代次数设置过大,会显著增加训练时长。  | 
父主题: AscendIndexIVFConfig
