code: def setup_pytorch():
      global torch_dlpack
      global torch
      import torch
      import torch.utils.dlpack as torch_dlpack
  
      global torch_stream
      torch_stream = torch.cuda.Stream()
  
imports: import numpy
  import nvidia.dali.ops
  import nvidia.dali.types
  import os
  import random
  from functools import partial
  from nvidia.dali.pipeline import Pipeline
  from nvidia.dali import fn, pipeline_def
  from nvidia.dali.python_function_plugin import current_dali_stream
label_desc: Use image node_id 1 for calling a global function with example usage: setup_pytorch() without return types