code: def to_list(tensor_list):
      if isinstance(tensor_list, backend.TensorListGPU):
          tensor_list = tensor_list.as_cpu()
      out = []
      for i in range(len(tensor_list)):
          out.append(tensor_list.at(i))
      return out
  
imports: from nvidia.dali.pipeline import Pipeline
  from nvidia.dali import backend
  import nvidia.dali.ops
  import numpy
  from test_utils import dali_type
  from nvidia.dali import fn, pipeline_def, types
  from nose2.tools import params
label_desc: Use image node_id 14 for calling a global function with example usage: to_list(tensor_list) and returns: out