set_seed#

class set_seed(seed=None)[source]#

Reset the random seed. This function also resets Python’s built-in random number generated.

Parameters:

seed (int) – the random seed