docstr: Return the Core ML spec
docstr_tok: ["Return","the","Core","ML","spec"]
code: def get_spec(self):
      """
      Return the Core ML spec
      """
      if _mac_ver() >= (10, 14):
          return self.vggish_model.get_spec()
      else:
          vggish_model_file = VGGish()
          coreml_model_path = vggish_model_file.get_model_path(
              format="coreml"
          )
          coremltools = _minimal_package_import_check("coremltools")
          return coremltools.models.MLModel(
              coreml_model_path
          ).get_spec()
  
file_path: turicreate/src/python/turicreate/toolkits/sound_classifier/_audio_feature_extractor.py
imports: import time
  import numpy
  import turicreate.toolkits._tf_utils
  import turicreate
  from .vggish_params import SAMPLE_RATE
  from .._internal_utils import _mac_ver
  from .._pre_trained_models import VGGish
  from turicreate._deps.minimal_package import _minimal_package_import_check
label_desc: Use image node_id 6 for calling the VGGishFeatureExtractor obj's underlying member method code with example usage: obj.get_spec() and returns: self, coremltools