Function mindspore::dataset::config::set_seed
Defined in File config.h
Function Documentation
-
bool mindspore::dataset::config::set_seed(int32_t seed)
A function to set the seed to be used in any random generator. This is used to produce deterministic results.
- Parameters
seed – [in] The default seed to be used.