code: def test_array_interface_tensor_cpu():
      arr = np.random.rand(3, 5, 6)
      tensorlist = TensorListCPU(arr, "NHWC")
      assert (
          tensorlist[0].__array_interface__["data"][0]
          == tensorlist[0].data_ptr()
      )
      assert not tensorlist[0].__array_interface__["data"][1]
      assert np.array_equal(
          tensorlist[0].__array_interface__["shape"],
          tensorlist[0].shape(),
      )
      assert np.dtype(
          tensorlist[0].__array_interface__["typestr"]
      ) == np.dtype(types.to_numpy_type(tensorlist[0].dtype))
  
imports: import numpy
  import nvidia.dali.fn
  import nvidia.dali.types
  import warnings
  from numpy.testing import assert_array_equal
  from nvidia.dali import pipeline_def
  from nvidia.dali.backend_impl import TensorCPU, TensorListCPU, TensorListGPU
  from nvidia.dali.backend_impl import types
  import nvidia.dali
  from nose_utils import assert_raises
  from nose import SkipTest
  from test_utils import dali_type_to_np, py_buffer_from_address, get_device_memory_info
label_desc: Use image node_id 11 for calling a global function with example usage: test_array_interface_tensor_cpu() without return types