How to get the current “random” seed?
Random.GLOBAL_RNG.seed
is not available now.
How to get the current “random” seed?
Random.GLOBAL_RNG.seed
is not available now.
Why do you need it? It is not a sufficient statistic for the state of the RNG.
What used to be Random.GLOBAL_RNG
is now Random.default_rng()
(and also its thread-local I believe).