/third_party/mindspore/tests/ut/python/dataset/ |
D | test_shuffle.py | 36 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 …]
|
D | test_config.py | 56 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 …]
|
D | test_2ops.py | 37 ds.config.set_seed(seed) 56 ds.config.set_seed(seed) 113 ds.config.set_seed(seed) 132 ds.config.set_seed(seed)
|
D | test_datasets_textfileop.py | 67 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)
|
D | test_random_crop.py | 121 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 …]
|
D | test_zip.py | 41 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)
|
D | test_compose.py | 35 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)
|
D | test_opt_pass.py | 65 ds.config.set_seed(1) 74 ds.config.set_seed(1) 84 ds.config.set_seed(1)
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | random_crop_with_bbox_op_test.cc | 45 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()
|
D | c_api_dataset_textfile_test.cc | 36 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 …]
|
D | c_api_dataset_config_test.cc | 53 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()
|
D | c_api_dataset_randomdata_test.cc | 188 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 …]
|
D | random_crop_and_resize_with_bbox_op_test.cc | 40 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()
|
D | c_api_transforms_test.cc | 148 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 …]
|
D | random_sharpness_op_test.cc | 38 GlobalContext::config_manager()->set_seed(120); in TEST_F() 50 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
|
D | random_solarize_op_test.cc | 39 GlobalContext::config_manager()->set_seed(0); in TEST_F() 50 GlobalContext::config_manager()->set_seed(curr_seed); in TEST_F()
|
D | random_resize_with_bbox_op_test.cc | 40 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/ |
D | test_using_seed_for_initializer.py | 16 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/ |
D | random_standard_normal.cc | 25 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
|
D | uniform_real.cc | 26 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/ |
D | test_cmp_sparse_embedding.py | 27 from mindspore.common import set_seed 86 set_seed(0) 91 set_seed(0)
|
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/ |
D | generate_mindrecord.py | 4 from mindspore.common import set_seed 9 set_seed(1)
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | config.cc | 32 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/ |
D | test_poisson.py | 22 from mindspore.common import set_seed 25 set_seed(20)
|
D | test_gamma.py | 22 from mindspore.common import set_seed 25 set_seed(20)
|