code: def tuple(args):
      args = _global_tuple(
          i if i is not None else type_unknown.unknown for i in args
      )
  
      class tuple:
          T = args
  
          def __init__(self):
              self.val = [arg() for arg in args]
  
          @classmethod
          def __type_info__(cls):
              return Type(
                  "tuple",
                  [get_type_info(arg) for arg in args],
                  python_class=cls,
              )
  
          @annotate(type_int.int64)
          def __len__(self):
              return len(args)
  
      tuple.__template_name__ = (
          "tuple["
          + ",".join([get_type_info(arg).name for arg in args])
          + "]"
      )
      return tuple
  
file_path: coremltools/coremltools/converters/mil/mil/types/type_tuple.py
imports: from .None import type_int, type_unknown
  from .annotate import annotate
  from .get_type_info import get_type_info
  from .type_spec import Type
label_desc: Use image node_id 2 for calling a global function with example usage: tuple(args) and returns: tuple, Type, len