xorbits.numpy.random.seed#
- xorbits.numpy.random.seed(seed=None)#
Reseed the singleton RandomState instance.
Notes
This is a convenience, legacy function that exists to support older code that uses the singleton RandomState. Best practice is to use a dedicated
Generatorinstance rather than the random variate generation methods exposed directly in the random module.See also
numpy.random.GeneratorThis docstring was copied from numpy.random.