I am using rng = np.random.default_rng(seed=None)
for testing purposes following documentation.
My program is a scientific code, so it is good to have some random values to test it, but if I found a problem with the code's result, I would like to get the seed back and try again to find the problem. ¿Is there any way to do that? Things like this question does not seem to work with a Generator
.
Of course I can always try a set of predefined seeds, but that is not what I want.
Thanks!