Module qute.random
Seed the random number generator.
Functions
def set_global_rng_seed(seed: Optional[int], workers: bool = False)
-
Set a global random number generator seed for NumPy, PyTorch, PyTorch Lightning and MONAI.
seed: int|None Seed for random number generators. Set to None to disable determinism.
workers: bool Whether to set the seed also for the worker processes (of PyTorch Lightning).