/third_party/mindspore/tests/ut/python/dataset/ |
D | test_config.py | 53 ds.config.set_num_parallel_workers(2) 66 ds.config.set_num_parallel_workers(num_parallel_workers_original) 109 ds.config.set_num_parallel_workers(num_parallel_workers_original) 124 ds.config.set_num_parallel_workers(1) 150 ds.config.set_num_parallel_workers(num_parallel_workers_original) 165 ds.config.set_num_parallel_workers(3) 190 ds.config.set_num_parallel_workers(num_parallel_workers_original) 205 ds.config.set_num_parallel_workers(1) 225 ds.config.set_num_parallel_workers(num_parallel_workers_original) 241 ds.config.set_num_parallel_workers(1) [all …]
|
D | test_datasets_textfileop.py | 66 ds.config.set_num_parallel_workers(original_num_parallel_workers) 83 ds.config.set_num_parallel_workers(original_num_parallel_workers) 100 ds.config.set_num_parallel_workers(original_num_parallel_workers) 117 ds.config.set_num_parallel_workers(original_num_parallel_workers) 134 ds.config.set_num_parallel_workers(original_num_parallel_workers) 151 ds.config.set_num_parallel_workers(original_num_parallel_workers)
|
D | test_random_crop.py | 122 ds.config.set_num_parallel_workers(original_num_parallel_workers) 148 ds.config.set_num_parallel_workers(original_num_parallel_workers) 171 ds.config.set_num_parallel_workers(original_num_parallel_workers) 197 ds.config.set_num_parallel_workers(original_num_parallel_workers) 220 ds.config.set_num_parallel_workers(original_num_parallel_workers) 246 ds.config.set_num_parallel_workers(original_num_parallel_workers) 313 ds.config.set_num_parallel_workers(original_num_parallel_workers) 341 ds.config.set_num_parallel_workers(original_num_parallel_workers) 407 ds.config.set_num_parallel_workers(original_num_parallel_workers) 435 ds.config.set_num_parallel_workers(original_num_parallel_workers) [all …]
|
D | test_bounding_box_augment.py | 71 ds.config.set_num_parallel_workers(original_num_parallel_workers) 110 ds.config.set_num_parallel_workers(original_num_parallel_workers) 148 ds.config.set_num_parallel_workers(original_num_parallel_workers) 226 ds.config.set_num_parallel_workers(original_num_parallel_workers)
|
D | test_random_grayscale.py | 116 ds.config.set_num_parallel_workers(original_num_parallel_workers) 143 ds.config.set_num_parallel_workers(original_num_parallel_workers) 170 ds.config.set_num_parallel_workers(original_num_parallel_workers)
|
D | test_random_apply.py | 98 ds.config.set_num_parallel_workers((original_num_parallel_workers)) 129 ds.config.set_num_parallel_workers(original_num_parallel_workers)
|
D | test_random_color.py | 136 ds.config.set_num_parallel_workers((original_num_parallel_workers)) 161 ds.config.set_num_parallel_workers((original_num_parallel_workers)) 208 ds.config.set_num_parallel_workers(original_num_parallel_workers)
|
D | test_random_affine.py | 132 ds.config.set_num_parallel_workers((original_num_parallel_workers)) 159 ds.config.set_num_parallel_workers((original_num_parallel_workers)) 185 ds.config.set_num_parallel_workers((original_num_parallel_workers))
|
D | test_opt.py | 47 ds.config.set_num_parallel_workers((original_num_parallel_workers))
|
D | test_random_resize_with_bbox.py | 68 ds.config.set_num_parallel_workers(original_num_parallel_workers) 111 ds.config.set_num_parallel_workers(original_num_parallel_workers)
|
D | test_random_posterize.py | 79 ds.config.set_num_parallel_workers(original_num_parallel_workers) 158 ds.config.set_num_parallel_workers(original_num_parallel_workers)
|
D | test_random_horizontal_flip.py | 102 ds.config.set_num_parallel_workers(original_num_parallel_workers) 128 ds.config.set_num_parallel_workers(original_num_parallel_workers)
|
D | test_random_vertical_flip.py | 102 ds.config.set_num_parallel_workers(original_num_parallel_workers) 128 ds.config.set_num_parallel_workers(original_num_parallel_workers)
|
D | test_random_crop_decode_resize.py | 81 ds.config.set_num_parallel_workers((original_num_parallel_workers))
|
D | test_split.py | 132 ds.config.set_num_parallel_workers(original_num_parallel_workers) 158 ds.config.set_num_parallel_workers(original_num_parallel_workers) 187 ds.config.set_num_parallel_workers(original_num_parallel_workers) 267 ds.config.set_num_parallel_workers(original_num_parallel_workers)
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | c_api_dataset_textfile_test.cc | 37 GlobalContext::config_manager()->set_num_parallel_workers(4); in TEST_F() 84 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 96 GlobalContext::config_manager()->set_num_parallel_workers(4); in TEST_F() 148 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 160 GlobalContext::config_manager()->set_num_parallel_workers(4); in TEST_F() 180 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 295 GlobalContext::config_manager()->set_num_parallel_workers(1); in TEST_F() 344 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 356 GlobalContext::config_manager()->set_num_parallel_workers(1); in TEST_F() 405 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F() [all …]
|
D | c_api_dataset_config_test.cc | 51 auto status_set_num_parallel_workers = config::set_num_parallel_workers(2); in TEST_F() 67 config::set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 89 auto status_set_num_parallel_workers = config::set_num_parallel_workers(0); in TEST_F() 99 config::set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 114 config::set_num_parallel_workers(1); in TEST_F() 162 config::set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 175 config::set_num_parallel_workers(1); in TEST_F() 237 config::set_num_parallel_workers(original_num_parallel_workers); in TEST_F()
|
D | c_api_dataset_csv_test.cc | 96 GlobalContext::config_manager()->set_num_parallel_workers(4); in TEST_F() 142 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 408 GlobalContext::config_manager()->set_num_parallel_workers(4); in TEST_F() 454 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 465 GlobalContext::config_manager()->set_num_parallel_workers(4); in TEST_F() 512 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 524 GlobalContext::config_manager()->set_num_parallel_workers(4); in TEST_F() 567 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F()
|
D | client_config_test.cc | 54 my_conf->set_num_parallel_workers(2); in TEST_F() 78 my_conf->set_num_parallel_workers(8); in TEST_F()
|
D | c_api_dataset_clue_test.cc | 465 GlobalContext::config_manager()->set_num_parallel_workers(1); in TEST_F() 520 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 532 GlobalContext::config_manager()->set_num_parallel_workers(1); in TEST_F() 586 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 598 GlobalContext::config_manager()->set_num_parallel_workers(4); in TEST_F() 641 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F()
|
D | c_api_dataset_tfrecord_test.cc | 125 GlobalContext::config_manager()->set_num_parallel_workers(1); in TEST_F() 176 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F() 187 GlobalContext::config_manager()->set_num_parallel_workers(1); in TEST_F() 224 GlobalContext::config_manager()->set_num_parallel_workers(original_num_parallel_workers); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | config.cc | 58 bool set_num_parallel_workers(int32_t num_parallel_workers) { in set_num_parallel_workers() function 63 _config->set_num_parallel_workers(num_parallel_workers); in set_num_parallel_workers()
|
/third_party/mindspore/mindspore/dataset/core/ |
D | config.py | 172 def set_num_parallel_workers(num): function 190 _config.set_num_parallel_workers(num)
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/ |
D | config_manager.cc | 85 RETURN_IF_NOT_OK(set_num_parallel_workers(j.value("numParallelWorkers", num_parallel_workers_))); in FromJson() 123 Status ConfigManager::set_num_parallel_workers(int32_t num_parallel_workers) { in set_num_parallel_workers() function in mindspore::dataset::ConfigManager
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/ |
D | config.h | 49 bool set_num_parallel_workers(int32_t num_parallel_workers);
|