code: def __init__(self, **kwargs):
      # Since python 3.6, kwargs preserves the input order. See
      # https://docs.python.org/3/whatsnew/3.6.html#whatsnew36-pep468
      self._input_types = [(k, v) for k, v in kwargs.items()]
      self._ordered_dict = OrderedDict()
      for k, v in self._input_types:
          self._ordered_dict[k] = v
  
imports: from collections import OrderedDict
  from coremltools.converters.mil.mil import types
  from coremltools.converters.mil.mil.var import InternalVar
label_desc: Use image node_id 1 to create a new InputSpec object  with example: obj = InputSpec()