Searched refs:check_valid_str (Results 1 – 2 of 2) sorted by relevance
/third_party/mindspore/mindspore/dataset/engine/ |
D | validators.py | 29 check_num_parallel_workers, check_columns, check_pos_int32, check_valid_str 80 check_valid_str(usage, ["train", "test", "all"], "usage") 198 check_valid_str(usage, ["train", "test", "all"], "usage") 1039 check_valid_str(usage, ["train", "valid", "test", "all"], "usage") 1043 check_valid_str(task, ["Classification", "Segmentation"], "task") 1479 check_valid_str(usage, ["train", "val", "train_noval", "all"], "usage") 1483 check_valid_str(task, ["Boundaries", "Segmentation"], "task") 1509 check_valid_str(task, ["instance", "semantic", "polygon", "color"], "task") 1512 check_valid_str(quality_mode, ["fine", "coarse"], "quality_mode") 1519 check_valid_str(usage, valid_strings, "usage") [all …]
|
/third_party/mindspore/mindspore/dataset/core/ |
D | validator_helpers.py | 384 def check_valid_str(value, valid_strings, arg_name=""): function
|