code: def set_random_seed(seed=0):
      """Set random seed.
      Parameters
      ----------
      seed : int
          Random seed to use
      """
      random.seed(seed)
      np.random.seed(seed)
      torch.manual_seed(seed)
      if torch.cuda.is_available():
          torch.cuda.manual_seed(seed)
  
imports: import datetime
  import errno
  import os
  import pickle
  import random
  from pprint import pprint
  import dgl
  import numpy
  import torch
  from dgl.data.utils import _get_dgl_url, download, get_download_dir
  from scipy import io, sparse
label_desc: Use image node_id 1 for calling a global function with example usage: set_random_seed(seed) without return types