AscendIndexGreat
API定义 |
AscendIndexGreat(const std::string& mode, const std::vector<int>& deviceList, bool verbose = false); |
---|---|
功能描述 |
AscendIndexGreat的构造函数,创建Ascend上的检索Index。 |
输入 |
const std::string& mode:指定算法模式。 const std::vector<int>& deviceList:指定的NPU 侧设备ID。 bool verbose:指定是否开启verbose选项,开启后部分操作提供额外的打印提示。默认值为“false”。 |
输出 |
无 |
返回值 |
无 |
约束说明 |
|
父主题: AscendIndexGreat