class_docstr: A trained model using C++ implementation that is ready to use for classification or export to
  CoreML.
  
  This model should not be constructed directly.
class_docstr_tok: ["A","trained","model","using","C++","implementation","that","is","ready","to","use","for","classification","or","export","to","CoreML",".","This","model","should","not","be","constructed","directly","."]
docstr: Save the model in Core ML format. The Core ML model takes an image of
  fixed size, and a style index inputs and produces an output
  of an image of fixed size
  
  Parameters
  ----------
  path : string
      A string to the path for saving the Core ML model.
  
  image_shape: tuple
      A tuple (defaults to (256, 256)) will bind the coreml model to a fixed shape.
  
  include_flexible_shape: bool
      Allows the size of the input image to be flexible. Any input image were the
      height and width are at least 64 will be accepted by the Core ML Model.
  
  See Also
  --------
  save
  
  Examples
  --------
  >>> model.export_coreml('StyleTransfer.mlmodel')
docstr_tok: ["Save","the","model","in","Core","ML","format",".","The","Core","ML","model","takes","an","image","of","fixed","size",",","and","a","style","index","inputs","and","produces","an","output","of","an","image","of","fixed","size","Parameters","--","--","--","--","--","path",":","string","A","string","to","the","path","for","saving","the","Core","ML","model",".","image_shape",":","tuple","A","tuple","(","defaults","to","(","256",",","256",")",")","will","bind","the","coreml","model","to","a","fixed","shape",".","include_flexible_shape",":","bool","Allows","the","size","of","the","input","image","to","be","flexible",".","Any","input","image","were","the","height","and","width","are","at","least","64","will","be","accepted","by","the","Core","ML","Model",".","See","Also","--","--","--","--","save","Examples","--","--","--","--",">",">",">","model.export_coreml","(","'StyleTransfer.mlmodel","'",")"]
code: def export_coreml(
      self,
      filename,
      image_shape=(256, 256),
      include_flexible_shape=True,
  ):
      """
      Save the model in Core ML format. The Core ML model takes an image of
      fixed size, and a style index inputs and produces an output
      of an image of fixed size
  
      Parameters
      ----------
      path : string
          A string to the path for saving the Core ML model.
  
      image_shape: tuple
          A tuple (defaults to (256, 256)) will bind the coreml model to a fixed shape.
  
      include_flexible_shape: bool
          Allows the size of the input image to be flexible. Any input image were the
          height and width are at least 64 will be accepted by the Core ML Model.
  
      See Also
      --------
      save
  
      Examples
      --------
      >>> model.export_coreml('StyleTransfer.mlmodel')
      """
      options = {}
      options["image_width"] = image_shape[1]
      options["image_height"] = image_shape[0]
      options["include_flexible_shape"] = include_flexible_shape
      additional_user_defined_metadata = (
          _coreml_utils._get_tc_version_info()
      )
      short_description = _coreml_utils._mlmodel_short_description(
          "Style Transfer"
      )
  
      self.__proxy__.export_to_coreml(
          filename,
          short_description,
          additional_user_defined_metadata,
          options,
      )
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate.toolkits._internal_utils
  from turicreate.toolkits import _coreml_utils
  from turicreate.toolkits._internal_utils import _raise_error_if_not_sframe
  from turicreate._deps.minimal_package import _minimal_package_import_check
  from ..None import _pre_trained_models
  from turicreate.toolkits._model import Model
  from turicreate.toolkits._main import ToolkitError
  import turicreate
  from .._mps_utils import MpsStyleGraphAPI
label_desc: Use image node_id 6 for calling the StyleTransfer obj's underlying member method code with example usage: obj.export_coreml(filename, image_shape, include_flexible_shape) without return types