def init_seeds(seed=0): random.seed(seed) np.random.seed(seed) init_torch_seeds(seed)
def init_seeds(seed=0): # Initialize random number generator (RNG) seeds random.seed(seed) np.random.seed(seed) init_torch_seeds(seed)