AscendIndexIVFSP
API定义 |
AscendIndexIVFSP(int dims, int nonzeroNum, int nlist, faiss::ScalarQuantizer::QuantizerType qType = ScalarQuantizer::QuantizerType::QT_8bit, faiss::MetricType metric = MetricType::METRIC_L2, AscendIndexIVFSPConfig config = AscendIndexIVFSPConfig()); |
---|---|
功能描述 |
AscendIndexIVFSP的构造函数,根据“config”中配置的值设置Device侧资源。 |
输入 |
|
输出 |
无 |
返回值 |
无 |
约束说明 |
|
父主题: AscendIndexIVFSP