code: def init_seed(seed, reproducibility):
      r"""init random seed for random functions in numpy, torch, cuda and cudnn
  
      Args:
          seed (int): random seed
          reproducibility (bool): Whether to require reproducibility
      """
      random.seed(seed)
      np.random.seed(seed)
      torch.manual_seed(seed)
      torch.cuda.manual_seed(seed)
      torch.cuda.manual_seed_all(seed)
      if reproducibility:
          torch.backends.cudnn.benchmark = False
          torch.backends.cudnn.deterministic = True
      else:
          torch.backends.cudnn.benchmark = True
          torch.backends.cudnn.deterministic = False
  
imports: import datetime
  import importlib
  import os
  import random
  import pandas
  import numpy
  import torch
  import torch.nn
  from torch.utils.tensorboard import SummaryWriter
  from texttable import Texttable
  from recbole.utils.enum_type import ModelType
label_desc: Use image node_id 8 for calling a global function with example usage: init_seed(seed, reproducibility) without return types