mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments of parse_ann_collection_name func on benchmark (#9725)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/9743/head
parent
338abfdf0c
commit
062902b0e5
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue