noether.core.utils.seed

Attributes

Functions

set_seed(seed)

Set the seed for random number generation for Python random, numpy,

Module Contents

noether.core.utils.seed.logger
noether.core.utils.seed.set_seed(seed)

Set the seed for random number generation for Python random, numpy, torch and torch.cuda, if available.

Parameters:

seed (int) – Seed value.

Return type:

None