code: def check_dlpack_types_cpu(t):
      arr = torch.tensor(
          [[0.39, 1.5], [1.5, 0.33]], device="cpu", dtype=t
      )
      tensor = TensorCPU(to_dlpack(arr), "NHWC")
      dali_torch_tensor = convert_to_torch(
          tensor,
          device=arr.device,
          dtype=arr.dtype,
          size=tensor.shape(),
      )
      assert torch.all(arr.eq(dali_torch_tensor))
  
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 15 for calling a global function with example usage: check_dlpack_types_cpu(t) without return types