updateCentroids
API Definition |
void updateCentroids(Index::idx_t n, const char *x) override |
|---|---|
Function |
Updates the cluster centroid of the current AscendIndexInt8IVFFlat based on the input result. |
Input |
Index::idx_t n: number of feature vectors in the training dataset. const char *x: feature vector data. |
Output |
N/A |
Return Value |
N/A |
Restrictions |
|
Parent topic: AscendIndexInt8IVFFlat