mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
[skip ci] Add comments of util file on benchmark (#9798)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
6a0c12248d
commit
59a92580fd
@ -143,6 +143,7 @@ def get_dataset(hdf5_file_path):
|
||||
|
||||
|
||||
def get_default_field_name(data_type=DataType.FLOAT_VECTOR):
|
||||
""" Return fild name according to data type """
|
||||
if data_type == DataType.FLOAT_VECTOR:
|
||||
field_name = DEFAULT_F_FIELD_NAME
|
||||
elif data_type == DataType.BINARY_VECTOR:
|
||||
|
Loading…
Reference in New Issue
Block a user