未验证 提交 a3e4d29a 编写于 作者: R ryjiang 提交者: GitHub

Remove unused function (#2029)

* [skip ci] Remove unused function
Signed-off-by: Nshanghaikid <jiangruiyi@gmail.com>
Signed-off-by: Nruiyi.jiang <ruiyi.jiang@zilliz.com>

* remove unused function in utils.cpp
Signed-off-by: Nruiyi.jiang <ruiyi.jiang@zilliz.com>
上级 72cae522
......@@ -221,12 +221,6 @@ IsRawIndexType(int32_t type) {
return (type == (int32_t)EngineType::FAISS_IDMAP) || (type == (int32_t)EngineType::FAISS_BIN_IDMAP);
}
bool
IsBinaryIndexType(int32_t index_type) {
return (index_type == (int32_t)engine::EngineType::FAISS_BIN_IDMAP) ||
(index_type == (int32_t)engine::EngineType::FAISS_BIN_IVFFLAT);
}
bool
IsBinaryMetricType(int32_t metric_type) {
return (metric_type == (int32_t)engine::MetricType::HAMMING) ||
......
......@@ -48,9 +48,6 @@ IsSameIndex(const CollectionIndex& index1, const CollectionIndex& index2);
bool
IsRawIndexType(int32_t type);
static bool
IsBinaryIndexType(int32_t index_type);
bool
IsBinaryMetricType(int32_t metric_type);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册