deepfold.utils.random.numpy_seed

deepfold.utils.random.numpy_seed(seed: int | None = None, *additional_seeds, key: str = '')[source]

Context manager which seeds the Numpy PRNG with the seed and restores the state.