Home
last modified time | relevance | path

Searched refs:set_num_parallel_workers (Results 1 – 25 of 50) sorted by relevance

12

/third_party/mindspore/tests/ut/python/dataset/
Dtest_config.py53 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 …]
Dtest_datasets_textfileop.py66 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)
Dtest_random_crop.py122 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 …]
Dtest_bounding_box_augment.py71 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)
Dtest_random_grayscale.py116 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)
Dtest_random_apply.py98 ds.config.set_num_parallel_workers((original_num_parallel_workers))
129 ds.config.set_num_parallel_workers(original_num_parallel_workers)
Dtest_random_color.py136 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)
Dtest_random_affine.py132 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))
Dtest_opt.py47 ds.config.set_num_parallel_workers((original_num_parallel_workers))
Dtest_random_resize_with_bbox.py68 ds.config.set_num_parallel_workers(original_num_parallel_workers)
111 ds.config.set_num_parallel_workers(original_num_parallel_workers)
Dtest_random_posterize.py79 ds.config.set_num_parallel_workers(original_num_parallel_workers)
158 ds.config.set_num_parallel_workers(original_num_parallel_workers)
Dtest_random_horizontal_flip.py102 ds.config.set_num_parallel_workers(original_num_parallel_workers)
128 ds.config.set_num_parallel_workers(original_num_parallel_workers)
Dtest_random_vertical_flip.py102 ds.config.set_num_parallel_workers(original_num_parallel_workers)
128 ds.config.set_num_parallel_workers(original_num_parallel_workers)
Dtest_random_crop_decode_resize.py81 ds.config.set_num_parallel_workers((original_num_parallel_workers))
Dtest_split.py132 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/
Dc_api_dataset_textfile_test.cc37 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 …]
Dc_api_dataset_config_test.cc51 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()
Dc_api_dataset_csv_test.cc96 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()
Dclient_config_test.cc54 my_conf->set_num_parallel_workers(2); in TEST_F()
78 my_conf->set_num_parallel_workers(8); in TEST_F()
Dc_api_dataset_clue_test.cc465 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()
Dc_api_dataset_tfrecord_test.cc125 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/
Dconfig.cc58 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/
Dconfig.py172 def set_num_parallel_workers(num): function
190 _config.set_num_parallel_workers(num)
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dconfig_manager.cc85 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/
Dconfig.h49 bool set_num_parallel_workers(int32_t num_parallel_workers);

12