(config)
Set the random seed.
Set the random seed.
Set the random seed .
def set_seed(config):
  """Set the random seed."""
  random_seed = config['solver']['run_config']['tf_random_seed']
  random.seed(random_seed)
  np.random.seed(random_seed)
  tf.set_random_seed(random_seed)
def set_seed ( config ) : random_seed = config [ 'solver' ] [ 'run_config' ] [ 'tf_random_seed' ] random . seed ( random_seed ) np . random . seed ( random_seed ) tf . set_random_seed ( random_seed )