未验证 提交 cd38d607 编写于 作者: O op-hunter 提交者: GitHub

fix wrong arguments check of hnsw-pq (#3247)

Signed-off-by: Ncmli <chengming.li@zilliz.com>
上级 3913cc0f
......@@ -287,7 +287,7 @@ RHNSWPQConfAdapter::CheckTrain(Config& oricfg, const IndexMode mode) {
int64_t dimension = oricfg[knowhere::meta::DIM].get<int64_t>();
IVFPQConfAdapter::GetValidMList(dimension, resset);
CheckIntByValues(knowhere::IndexParams::m, resset);
CheckIntByValues(knowhere::IndexParams::PQM, resset);
return ConfAdapter::CheckTrain(oricfg, mode);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册