code: def set_manual_seed(seed):
      """Set random seed for Python and PyTorch random generators."""
      random.seed(seed)
      torch.manual_seed(seed)
      np.random.seed(seed)
      print("Using manual seed: {seed}".format(seed=seed))
  
imports: import random
  import warnings
  import numpy
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: set_manual_seed(seed) without return types