code: def parse_list(t):
      if len(t.s) > 0:
          return list(parse_string(s) for s in t.s)
      elif len(t.i) > 0:
          return list(t.i)
      elif len(t.f) > 0:
          return list(t.f)
      elif len(t.b) > 0:
          return list(t.b)
      elif len(t.type) > 0:
          return list(parse_type(z) for z in t.type)
      elif len(t.shape) > 0:
          return list(parse_shape(z) for z in t.shape)
      elif len(t.tensor) > 0:
          return list(parse_tensor(z) for z in t.tensor)
      else:
          return []
  
file_path: coremltools/coremltools/converters/mil/frontend/tensorflow/parse.py
imports: import numpy
  from tensorflow.core.framework.types_pb2 import DataType
  from tensorflow.python.framework.dtypes import _TF_TO_NP
  from coremltools import _logger
  from coremltools.converters.mil.mil import types
label_desc: Use image node_id 5 for calling a global function with example usage: parse_list(t) and returns: list, list, list, list, list, list, list, list