Function mindspore::dataset::config::get_seed
Defined in File config.h
Function Documentation
-
uint32_t mindspore::dataset::config::get_seed()
A function to get the seed.
- Returns
The seed set in the configuration.
样例// Get the global configuration of seed. // If set_seed() is never called before, the default value(std::mt19937::default_seed) will be returned. uint32_t seed = config::get_seed();