setNumProbes

API definition

void setNumProbes(int nprobes);

Function

Sets the total number of candidate buckets for retrieval.

Input

int nprobes: nprobe of AscendIndexIVFSP.

Output

N/A

Return value

N/A

Restrictions

The value of nprobes is a multiple of 16 and complies with the following restriction: 0 < nprobesnlist.