code: def set_seed(seed):
      r"""
      Sets seeds to generate random numbers. This function will set seeds
      of :obj:`random.seed`, :obj:`numpy.random.seed`,
      :obj:`torch.manual_seed`, and :obj:`torch.cuda.manual_seed_all` to
      be the `seed`.
  
      Use the function in following way:
  
      .. code-block:: python
  
          import deepsnap
          deepsnap.set_seed(1)
  
      Args:
          seed (int): The seed value to generate random numbers.
  
      """
      random.seed(seed)
      np.random.seed(seed)
      torch.manual_seed(seed)
      torch.cuda.manual_seed_all(seed)
  
file_path: deepsnap/deepsnap/__init__.py
imports: import types
  import torch
  import random
  import numpy
  import deepsnap.graph
  import deepsnap.dataset
  import deepsnap.batch
  import deepsnap.hetero_graph
  import deepsnap.hetero_gnn
  import networkx
label_desc: Use image node_id 2 for calling a global function with example usage: set_seed(seed) without return types