下载
中文
注册

SetHyperSearchParams

API定义

APP_ERROR SetHyperSearchParams(const AscendIndexVstarHyperParams& params);

功能描述

设置AscendIndexVstar实例检索时的超参。

输入

const AscendIndexVstarHyperParams& params:检索时超参,具体请见12.5.13.7-AscendIndexVstarHyperParams

输出

返回值

APP_ERROR:调用返回状态,具体请参见接口调用返回值参考

约束说明

  • nProbeL1∈(16,nListL1],nProbeL1 % 8 == 0
  • nProbeL2∈(16,nProbeL1 * nList2],nProbeL2 % 8 == 0
  • l3SegmentNum∈(100,5000],l3SegmentNum % 8 == 0