random.seed(): What does it do?
I am a bit confused on what random.seed()
does in Python. For example, why does the below trials do what they do (consistently)?
I am a bit confused on what random.seed()
does in Python. For example, why does the below trials do what they do (consistently)?
I have a big script in Python. I inspired myself in other people’s code so I ended up using the numpy.random
module for some things (for example for creating an array of random numbers taken from a binomial distribution) and in other places I use the module random.random
.
In a general tensorflow setup like