code: def seed_everything(seed: int):
      random.seed(seed)
      os.environ["PYTHONHASHSEED"] = str(seed)
      np.random.seed(seed)
      torch.manual_seed(seed)
      torch.cuda.manual_seed(seed)
      torch.backends.cudnn.deterministic = True
      torch.backends.cudnn.benchmark = True
  
file_path: tez/tez/utils.py
imports: import os
  import random
  import numpy
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: seed_everything(seed) without return types