code: def set_global_seeds(seed):
      """
      set the seed for python random, tensorflow, numpy and gym spaces
  
      :param seed: (int) the seed
      """
      tf.set_random_seed(seed)
      np.random.seed(seed)
      random.seed(seed)
      # prng was removed in latest gym version
      if hasattr(gym.spaces, "prng"):
          gym.spaces.prng.seed(seed)
  
file_path: stable-baselines/stable_baselines/common/misc_util.py
imports: import random
  import gym
  import numpy
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: set_global_seeds(seed) without return types