code: def set_seed(seed, cuda=False):
      torch.manual_seed(seed)
  
      if cuda:
          torch.cuda.manual_seed(seed)
  
imports: import numpy
  import torch
label_desc: Use image node_id 6 for calling a global function with example usage: set_seed(seed, cuda) without return types