Function Description
AscendIndexIVF needs to use the corresponding AscendIndexIVFConfig to initialize the related resources.
Member Description
Member |
Type |
Description |
|---|---|---|
flatConfig |
AscendIndexConfig |
Parameter configuration object. |
useKmeansPP |
bool |
Whether to use the NPU to accelerate the IVF clustering. |
cp |
ClusteringParameters |
Clustering parameter. For details, see the description of related Faiss APIs. You are advised not to modify this parameter. The default value of training iterations is 16. If the number of epochs is set to a large value, the training duration increases significantly. |
Parent topic: AscendIndexIVFConfig
