docstr: The input type for inputs fed into the model.
  
  Parameters
  ----------
  name: (str)
      The name of the input.
  
  shape: list, tuple, Shape object, EnumeratedShapes object, or None
      The shape(s) that are valid for this input.
      If set to ``None``, the shape will be inferred from the model itself.
docstr_tok: ["The","input","type","for","inputs","fed","into","the","model",".","Parameters","--","--","--","--","--","name",":","(","str",")","The","name","of","the","input",".","shape",":","list",",","tuple",",","Shape","object",",","EnumeratedShapes","object",",","or","None","The","shape","(","s",")","that","are","valid","for","this","input",".","If","set","to","``","None","``",",","the","shape","will","be","inferred","from","the","model","itself","."]
code: def __init__(self, name=None, shape=None, dtype=None):
      """
      The input type for inputs fed into the model.
  
      Parameters
      ----------
      name: (str)
          The name of the input.
  
      shape: list, tuple, Shape object, EnumeratedShapes object, or None
          The shape(s) that are valid for this input.
          If set to ``None``, the shape will be inferred from the model itself.
  
      """
  
      self.name = name
      if shape is not None:
          self.shape = _get_shaping_class(shape)
      else:
          self.shape = None
      self.dtype = dtype
  
imports: from enum import Enum
  from typing import Optional
  import numpy
  from coremltools.converters.mil.mil import types
  from coremltools.converters.mil.mil.types.symbolic import is_symbolic
  from coremltools.converters.mil.mil.types.type_mapping import is_builtin, numpy_type_to_builtin_type
label_desc: Use image node_id 1 to create a new InputType object  with example: obj = InputType(name, shape, dtype)