未验证 提交 062902b0 编写于 作者: W wt 提交者: GitHub

[skip ci] Add comments of parse_ann_collection_name func on benchmark (#9725)

Signed-off-by: Nwangting0128 <ting.wang@zilliz.com>
上级 338abfdf
......@@ -40,6 +40,11 @@ def collection_parser(collection_name):
def parse_ann_collection_name(collection_name):
"""
Analyze the collection name of the accuracy test and obtain the corresponding configuration
e.g.:
sift_128_euclidean
"""
data_type = collection_name.split("_")[0]
dimension = int(collection_name.split("_")[1])
metric = collection_name.split("_")[2]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册