set_seed

dragon.random.set_seed(seed)[source]

Set the global random seed.

Parameters:
  • seed (int) The seed to use.