code: def set_seed(seed=0):
      torch.backends.cudnn.deterministic = True
      torch.backends.cudnn.benchmark = False
      torch.manual_seed(seed)
      torch.cuda.manual_seed_all(seed)
      np.random.seed(seed)
      random.seed(seed)
  
file_path: BigDL/python/orca/example/learn/pytorch/brainMRI/dataset.py
imports: import numpy
  import random
  import cv2
  import torch
  import torchvision.transforms
  import torch.utils.data
label_desc: Use image node_id 1 for calling a global function with example usage: set_seed(seed) without return types