mighty.utils.common.set_seed

mighty.utils.common.set_seed(seed: int)[source]

Sets the global seed for PyTorch, Numpy, and built-in random function.

Parameters:
seedint

The global seed.