提交 a2d5adfa 编写于 作者: P peng.xu

Merge branch 'update_gpuresource' into 'branch-0.4.0'

MS484 remove idmap search config

See merge request megasearch/milvus!486

Former-commit-id: f2af09bc81dcd999fbbb25d183a127f3893fdd98
......@@ -39,9 +39,9 @@ DatasetPtr IDMAP::Search(const DatasetPtr &dataset, const Config &config) {
}
auto k = config["k"].as<size_t>();
auto metric_type = config["metric_type"].as_string() == "L2" ?
faiss::METRIC_L2 : faiss::METRIC_INNER_PRODUCT;
index_->metric_type = metric_type;
//auto metric_type = config["metric_type"].as_string() == "L2" ?
// faiss::METRIC_L2 : faiss::METRIC_INNER_PRODUCT;
//index_->metric_type = metric_type;
GETTENSOR(dataset)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册