nimble.random.setSeed

nimble.random.setSeed(seed, *, useLog=None)

Set the seeds on all sources of randomness in nimble.

Parameters:

seed (int) – Seed for random state. Must be convertible to 32 bit unsigned integer for compliance with numpy. If seed is None, the operating system’s randomness sources are used if available otherwise the system time is used.