code: def test_cuda_array_interface_tensor_list_gpu_to_cpu_device_id():
      arr = cp.random.rand(3, 5, 6)
      tensor_list = TensorListGPU(arr, "NHWC", 0)
      assert np.allclose(arr.get(), tensor_list.as_cpu().as_tensor())
  
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 20 for calling a global function with example usage: test_cuda_array_interface_tensor_list_gpu_to_cpu_device_id() without return types