Function mindspore::dataset::config::get_seed

Function Documentation

uint32_t mindspore::dataset::config::get_seed()

A function to get the seed.

Example
// 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();

返回

The seed set in the configuration.