下载
中文
注册

AscendIndexHyperParams

API定义

AscendIndexHyperParams(const std::string& mode, const AscendIndexVstarHyperParams& vstarHyperParam, int expandingFactor);

功能描述

GREAT检索时的超参数结构体。

输入

const std::string& mode:指定算法模式。

const AscendIndexVstarHyperParams& vstarHyperParam:详细说明请参见AscendIndexVstarHyperParams

int expandingFactor:检索阶段每一层搜索时邻居的数量,注意与构图阶段的expandingFactor区分。

输出

参数约束

  • mode∈ {“KMode”,“AKMode”}。默认值“AKMode”。
  • expandingFactor ∈ [10, 200]。默认值为“150”