Home
last modified time | relevance | path

Searched refs:get_seed (Results 1 – 22 of 22) sorted by relevance

/third_party/mindspore/mindspore/common/
Dseed.py156 def get_seed(): function
208 global_seed = get_seed()
209 op_seed = get_seed()
249 global_seed = get_seed()
D__init__.py21 from .seed import set_seed, get_seed
Dinitializer.py22 from .seed import get_seed, _get_graph_seed
45 seed, seed2 = _get_graph_seed(get_seed(), "init")
Dtensor.py1245 from .seed import get_seed
1246 global_seed = get_seed()
/third_party/mindspore/tests/ut/python/dataset/
Dtest_config.py42 seed_original = ds.config.get_seed()
50 assert ds.config.get_seed() == 5489
62 assert ds.config.get_seed() == 5
76 assert isinstance(ds.config.get_seed(), int)
120 seed_original = ds.config.get_seed()
162 seed_original = ds.config.get_seed()
202 seed_original = ds.config.get_seed()
237 seed_original = ds.config.get_seed()
272 seed_original = ds.config.get_seed()
321 seed_original = ds.config.get_seed()
Dutil.py182 seed_original = ds.config.get_seed()
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_dataset_config_test.cc36 auto original_seed = config::get_seed(); in TEST_F()
47 EXPECT_EQ(config::get_seed(), 5489); in TEST_F()
63 EXPECT_EQ(config::get_seed(), 5); in TEST_F()
80 auto original_seed = config::get_seed(); in TEST_F()
110 uint32_t original_seed = config::get_seed(); in TEST_F()
171 uint32_t original_seed = config::get_seed(); in TEST_F()
Dc_api_vision_random_test.cc933 uint32_t current_seed = config::get_seed(); in TEST_F()
976 uint32_t current_seed = config::get_seed(); in TEST_F()
1184 uint32_t current_seed = config::get_seed(); in TEST_F()
1228 uint32_t current_seed = config::get_seed(); in TEST_F()
Dc_api_text_test.cc1832 auto original_seed = config::get_seed(); in TEST_F()
1907 auto original_seed = config::get_seed(); in TEST_F()
/third_party/ltp/testcases/lib/
Dtst_random.c20 static int get_seed(void) in get_seed() function
73 srandom(get_seed()); in main()
/third_party/mindspore/mindspore/dataset/core/
Dconfig.py116 def get_seed(): function
130 return _config.get_seed()
/third_party/mindspore/mindspore/core/ops/
Duniform_real.h49 int64_t get_seed() const;
Drandom_standard_normal.h60 int64_t get_seed() const;
Duniform_real.cc34 int64_t UniformReal::get_seed() const { in get_seed() function in mindspore::ops::UniformReal
Drandom_standard_normal.cc33 int64_t RandomStandardNormal::get_seed() const { in get_seed() function in mindspore::ops::RandomStandardNormal
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dconfig.h37 uint32_t get_seed();
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dconfig.cc42 uint32_t get_seed() { return _config->seed(); } in get_seed() function
/third_party/mindspore/mindspore/parallel/
D_utils.py26 from mindspore.common.seed import get_seed
210 …de in ("data_parallel", "hybrid_parallel") and parameter_broadcast is False and get_seed() is None:
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dactivation_info.h285 int64_t get_seed() { in get_seed() function
Dactivation_info.cc312 int64_t seed = get_seed(); in InferReplaceOps()
/third_party/mindspore/mindspore/dataset/engine/
Dsamplers.py760 c_sampler = cde.MindrecordSubsetSampler(self.indices, ds.config.get_seed())
/third_party/mindspore/
DRELEASE.md2014 ###### Modify get_seed function ([!7429](https://gitee.com/mindspore/mindspore/pulls/7429/files))
2016 Modify get_seed function implementation