class_docstr: Image classifier model supported by model maker.
docstr: Gets model spec from the input enum and initializes it.
code: def get(cls, spec: "SupportedModels") -> "ModelSpec":
      """Gets model spec from the input enum and initializes it."""
      if spec not in cls:
          raise TypeError(
              "Unsupported image classifier spec: {}".format(spec)
          )
  
      return spec.value()
  
file_path: mediapipe/mediapipe/model_maker/python/vision/image_classifier/model_spec.py
imports: import enum
  import functools
  from typing import List, Optional
label_desc: Use image node_id 1 for calling the SupportedModels obj's underlying member method code with example usage: obj.get(cls, spec) and returns: spec