docstr: The Input Type for inputs fed into the model.
  
  Attributes:
  
  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 infered from the model itself.
docstr_tok: ["The","Input","Type","for","inputs","fed","into","the","model",".","Attributes",":","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","infered","from","the","model","itself","."]
code: def __init__(self, name=None, shape=None, dtype=types.fp32):
      """
      The Input Type for inputs fed into the model.
  
      Attributes:
  
      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 infered 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: import logging
  import numpy
  import six
  from coremltools.converters.mil.mil.types.symbolic import is_symbolic
  from coremltools.converters.mil.mil import types
  from coremltools.converters.mil.mil.types.type_mapping import numpy_type_to_builtin_type, is_builtin
label_desc: Use image node_id 1 to create a new InputType object from inherited base classes: object with example: obj = InputType(name, shape, dtype)