setNumProbes
API定义 |
void setNumProbes(int nprobes); |
---|---|
功能描述 |
设置检索时总的候选桶数量。 |
输入 |
int nprobes:AscendIndexIVFSP的nprobe数。 |
输出 |
无 |
返回值 |
无 |
约束说明 |
“nprobes”为16的倍数且符合0 < nprobes ≤ nlist。 |
父主题: AscendIndexIVFSP
API定义 |
void setNumProbes(int nprobes); |
---|---|
功能描述 |
设置检索时总的候选桶数量。 |
输入 |
int nprobes:AscendIndexIVFSP的nprobe数。 |
输出 |
无 |
返回值 |
无 |
约束说明 |
“nprobes”为16的倍数且符合0 < nprobes ≤ nlist。 |