setSearchParams
API definition |
void setSearchParams(int nprobe, int l2Probe, int l3SegmentNum); |
|---|---|
Function |
Sets the parameters that affect search precision and performance. |
Input |
int nprobe: nprobe of AscendIndexIVFSQT. The default value 64 is recommended. int l2Probe: number of sub-buckets selected for level-2 retrieval. The default value is 48. int l3SegmentNum: number of segments processed by the L3 operator, which affects the total number of bases to be queried. The default value is 96. |
Output |
N/A |
Return value |
N/A |
Restrictions |
|
Parent topic: AscendIndexIVFSQT