setNumProbes

API Definition

void setNumProbes(int nprobes)

Function

Sets the number of nprobes of the current AscendIndexInt8IVF.

Input

int nprobes: number of buckets for AscendIndexInt8IVF level-2 retrieval. When the number of nprobes is equal to that of nlists, full retrieval is performed.

Output

N/A

Return Value

N/A

Restrictions

0 < nprobe ≤ nlist