flopscope.numpy.random.seed
fnp.random.seed(seed=None)[flopscope source]
Reseed the singleton RandomState instance.
Adapted from NumPy docs np.random.seed
Cost
0
Flopscope Context
Seed random number generator.
See also
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 Generator instance rather than
the random variate generation methods exposed directly in
the random module.