code: def test_tensor_expose_dlpack_capsule():
      arr = cp.arange(20)
      tensor = TensorGPU(arr, "NHWC")
  
      capsule = tensor._expose_dlpack_capsule()
      arr_from_dlpack = cp.from_dlpack(capsule)
  
      assert cp.array_equal(arr, arr_from_dlpack)
  
imports: from nvidia.dali.backend_impl import TensorGPU, TensorListGPU
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.tensors
  import nvidia.dali.types
  import numpy
  from nose_utils import assert_raises, raises
  import cupy
  from test_utils import py_buffer_from_address
label_desc: Use image node_id 34 for calling a global function with example usage: test_tensor_expose_dlpack_capsule() without return types