code: def test_pytorch():
      yield from utils.check_spawn_with_callback(ExtCallbackTorch)
  
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 2 for calling a global function with example usage: test_pytorch() without return types