setNumProbes

API定义

void setNumProbes(int nprobes) override

功能描述

设置当前的AscendIndexIVFSQT的nprobe数。

输入

int nprobes:AscendIndexIVFSQT的nprobe数。建议保持为默认值“64”

输出

返回值

约束说明

nprobes ∈{ 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64 }