code: def set_global_seed(seed):
      random.seed(seed)
      if opt.has_numpy:
          opt.np.random.seed(seed)
      if module_is_in_cache("tensorflow"):
          tf = opt.get_tensorflow()
          tf.set_random_seed(seed)
      if module_is_in_cache("torch"):
          import torch
  
          torch.manual_seed(seed)
          if torch.cuda.is_available():
              torch.cuda.manual_seed_all(seed)
  
imports: import random
  import sacred.optional
  from sacred.settings import SETTINGS
  from sacred.utils import module_is_in_cache
label_desc: Use image node_id 3 for calling a global function with example usage: set_global_seed(seed) without return types