code: def test_pytorch_cuda():
      callback = ExtCallbackTorchCuda((4, 5), 10, np.int32)
      pipe = utils.create_pipe(
          callback,
          "cpu",
          5,
          py_num_workers=6,
          py_start_method="spawn",
          parallel=True,
      )
      utils.build_and_run_pipeline(pipe)
  
file_path: DALI/dali/test/python/test_external_source_parallel_pytorch.py
imports: import numpy
  import torch
  import test_external_source_parallel_utils
  from nose_utils import raises
label_desc: Use image node_id 3 for calling a global function with example usage: test_pytorch_cuda() without return types