Home
last modified time | relevance | path

Searched refs:set_seed (Results 1 – 25 of 109) sorted by relevance

12345

/third_party/mindspore/tests/ut/python/dataset/
Dtest_shuffle.py36 ds.config.set_seed(seed)
54 ds.config.set_seed(seed)
72 ds.config.set_seed(seed)
90 ds.config.set_seed(seed)
108 ds.config.set_seed(seed)
126 ds.config.set_seed(seed)
145 ds.config.set_seed(1)
163 ds.config.set_seed(1)
181 ds.config.set_seed(1)
199 ds.config.set_seed(1)
[all …]
Dtest_config.py56 ds.config.set_seed(5)
68 ds.config.set_seed(seed_original)
123 ds.config.set_seed(0)
151 ds.config.set_seed(seed_original)
164 ds.config.set_seed(0)
191 ds.config.set_seed(seed_original)
204 ds.config.set_seed(0)
226 ds.config.set_seed(seed_original)
240 ds.config.set_seed(0)
261 ds.config.set_seed(seed_original)
[all …]
Dtest_2ops.py37 ds.config.set_seed(seed)
56 ds.config.set_seed(seed)
113 ds.config.set_seed(seed)
132 ds.config.set_seed(seed)
Dtest_datasets_textfileop.py67 ds.config.set_seed(original_seed)
84 ds.config.set_seed(original_seed)
101 ds.config.set_seed(original_seed)
118 ds.config.set_seed(original_seed)
135 ds.config.set_seed(original_seed)
152 ds.config.set_seed(original_seed)
Dtest_random_crop.py121 ds.config.set_seed(original_seed)
147 ds.config.set_seed(original_seed)
170 ds.config.set_seed(original_seed)
196 ds.config.set_seed(original_seed)
219 ds.config.set_seed(original_seed)
245 ds.config.set_seed(original_seed)
312 ds.config.set_seed(original_seed)
340 ds.config.set_seed(original_seed)
406 ds.config.set_seed(original_seed)
434 ds.config.set_seed(original_seed)
[all …]
Dtest_zip.py41 ds.config.set_seed(1)
55 ds.config.set_seed(1)
69 ds.config.set_seed(1)
83 ds.config.set_seed(1)
98 ds.config.set_seed(1)
116 ds.config.set_seed(1)
Dtest_compose.py35 ds.config.set_seed(0)
110 ds.config.set_seed(0)
137 ds.config.set_seed(0)
216 ds.config.set_seed(original_seed)
225 ds.config.set_seed(0)
259 ds.config.set_seed(0)
Dtest_opt_pass.py65 ds.config.set_seed(1)
74 ds.config.set_seed(1)
84 ds.config.set_seed(1)
/third_party/mindspore/tests/ut/cpp/dataset/
Drandom_crop_with_bbox_op_test.cc45 GlobalContext::config_manager()->set_seed(327362); in TEST_F()
67 GlobalContext::config_manager()->set_seed(current_seed); in TEST_F()
79 GlobalContext::config_manager()->set_seed(327362); in TEST_F()
96 GlobalContext::config_manager()->set_seed(current_seed); in TEST_F()
106 GlobalContext::config_manager()->set_seed(327362); in TEST_F()
118 GlobalContext::config_manager()->set_seed(current_seed); in TEST_F()
Dc_api_dataset_textfile_test.cc36 GlobalContext::config_manager()->set_seed(987); in TEST_F()
83 GlobalContext::config_manager()->set_seed(original_seed); in TEST_F()
95 GlobalContext::config_manager()->set_seed(987); in TEST_F()
147 GlobalContext::config_manager()->set_seed(original_seed); in TEST_F()
159 GlobalContext::config_manager()->set_seed(987); in TEST_F()
179 GlobalContext::config_manager()->set_seed(original_seed); in TEST_F()
294 GlobalContext::config_manager()->set_seed(654); in TEST_F()
343 GlobalContext::config_manager()->set_seed(original_seed); in TEST_F()
355 GlobalContext::config_manager()->set_seed(654); in TEST_F()
404 GlobalContext::config_manager()->set_seed(original_seed); in TEST_F()
[all …]
Dc_api_dataset_config_test.cc53 auto status_set_seed = config::set_seed(5); in TEST_F()
69 config::set_seed(original_seed); in TEST_F()
91 auto status_set_seed = config::set_seed(-1); in TEST_F()
101 config::set_seed(original_seed); in TEST_F()
113 config::set_seed(654); in TEST_F()
161 config::set_seed(original_seed); in TEST_F()
174 config::set_seed(654); in TEST_F()
236 config::set_seed(original_seed); in TEST_F()
Dc_api_dataset_randomdata_test.cc188 GlobalContext::config_manager()->set_seed(246); in TEST_F()
263 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
271 GlobalContext::config_manager()->set_seed(246); in TEST_F()
345 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
353 GlobalContext::config_manager()->set_seed(246); in TEST_F()
407 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
415 GlobalContext::config_manager()->set_seed(246); in TEST_F()
441 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
449 GlobalContext::config_manager()->set_seed(246); in TEST_F()
475 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
[all …]
Drandom_crop_and_resize_with_bbox_op_test.cc40 GlobalContext::config_manager()->set_seed(327362); in TEST_F()
63 GlobalContext::config_manager()->set_seed(current_seed); in TEST_F()
70 GlobalContext::config_manager()->set_seed(327362); in TEST_F()
85 GlobalContext::config_manager()->set_seed(current_seed); in TEST_F()
Dc_api_transforms_test.cc148 GlobalContext::config_manager()->set_seed(246); in TEST_F()
204 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
213 GlobalContext::config_manager()->set_seed(246); in TEST_F()
256 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
336 GlobalContext::config_manager()->set_seed(246); in TEST_F()
392 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
401 GlobalContext::config_manager()->set_seed(246); in TEST_F()
441 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
450 GlobalContext::config_manager()->set_seed(246); in TEST_F()
489 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
[all …]
Drandom_sharpness_op_test.cc38 GlobalContext::config_manager()->set_seed(120); in TEST_F()
50 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
Drandom_solarize_op_test.cc39 GlobalContext::config_manager()->set_seed(0); in TEST_F()
50 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
Drandom_resize_with_bbox_op_test.cc40 GlobalContext::config_manager()->set_seed(120); in TEST_F()
57 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
/third_party/mindspore/tests/ut/python/parallel/
Dtest_using_seed_for_initializer.py16 from mindspore.common import set_seed
42 set_seed(0)
45 set_seed(0)
56 set_seed(0)
59 set_seed(1)
/third_party/mindspore/mindspore/core/ops/
Drandom_standard_normal.cc25 this->set_seed(seed); in Init()
29 void RandomStandardNormal::set_seed(int64_t seed) { (void)this->AddAttr(kSeed, MakeValue(seed)); } in set_seed() function in mindspore::ops::RandomStandardNormal
Duniform_real.cc26 this->set_seed(seed); in Init()
30 void UniformReal::set_seed(int64_t seed) { (void)this->AddAttr(kSeed, MakeValue(seed)); } in set_seed() function in mindspore::ops::UniformReal
/third_party/mindspore/tests/st/ps/cmp_sparse_embedding/
Dtest_cmp_sparse_embedding.py27 from mindspore.common import set_seed
86 set_seed(0)
91 set_seed(0)
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/
Dgenerate_mindrecord.py4 from mindspore.common import set_seed
9 set_seed(1)
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dconfig.cc32 bool set_seed(int32_t seed) { in set_seed() function
37 _config->set_seed(static_cast<uint32_t>(seed)); in set_seed()
/third_party/mindspore/tests/st/ops/ascend/test_compoite_random_ops/
Dtest_poisson.py22 from mindspore.common import set_seed
25 set_seed(20)
Dtest_gamma.py22 from mindspore.common import set_seed
25 set_seed(20)

12345