update

API definition

void update(bool cleanData = true);

Function

Level 2 of the three-level retrieval. After all vectors are added and before the search operation is performed, this API is used to train the sub-bucket center and fill the bucket.

Input

cleanData: whether to clear intermediate data. The default value is true.

Output

N/A

Return value

N/A

Restrictions

This API needs to be called only once for one end-to-end retrieval process.