code: def test_dlpack_interface_types_cpu():
      for t in [
          # the more recent PyTorch doesn't support
          # torch.bool,
          torch.int8,
          torch.int16,
          torch.int32,
          torch.int64,
          torch.uint8,
          torch.float64,
          torch.float32,
      ]:
          yield check_dlpack_types_cpu, t
  
imports: from nvidia.dali.tensors import TensorCPU, TensorGPU, TensorListCPU, TensorListGPU
  import nvidia.dali.tensors
  import numpy
  import torch
  from torch.utils.dlpack import to_dlpack
  import ctypes
  from nvidia.dali.backend import CheckDLPackCapsule
label_desc: Use image node_id 16 for calling a global function with example usage: test_dlpack_interface_types_cpu() without return types