adapt.utils.set_random_seed

adapt.utils.set_random_seed(random_state)[source]

Set random seed for numpy and Tensorflow

Parameters
random_stateint or None

Random state, if None the current random generators remain unchanged