For AI agents: visit https://coremltools.readme.io/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
Jump to Content
coremltoolsGuidesAPI ReferenceExamples
HomeGuides
GuidesAPI ReferenceExamplesCore ML FormatGithubcoremltools
Guides
Core ML FormatGithub
HomeGuides

Overview

  • Introduction
  • Installation
  • Quickstart Example
  • Migrating to This Version
  • Contributing
    • GitHub
    • Contribution Guidelines
  • Release Notes

Neural Networks

  • Unified Conversion API
  • TensorFlow 1 Conversion
    • Convert a TensorFlow 1 Image Classifier
    • Convert a TensorFlow 1 DeepSpeech Model
  • TensorFlow 2 Conversion
    • Convert TensorFlow 2 BERT Transformer Models
  • PyTorch Conversion
    • Model Tracing
    • Model Scripting
    • Convert a PyTorch Segmentation Model
  • Model Intermediate Language
  • Conversion Options
    • Image Inputs
    • Classifiers
    • Flexible Input Shapes
    • Composite Operators
    • Custom Operators
  • Quantization
  • Other Converters
    • Multi-backend Keras
    • ONNX
    • Caffe

Trees & Linear Models

  • LibSVM
  • Scikit-learn
  • XGBoost

MLModel

  • MLModel Overview
  • Model Prediction
  • Xcode Model Preview Types
  • MLModel Utilities

Updatable Models

  • Updatable Models Overview
  • Nearest Neighbor Classifier
  • Neural Network Classifier
  • Pipeline Classifier

Conversion Options

Suggest Edits

This section describes the following conversion options specific to neural network models:

  • Image Inputs: Work with images as inputs for better performance and more convenience.
  • Classifiers: Make classifier models with embedded class labels for the Vision framework.
  • Flexible Input Shapes: Convert models that have flexible input shapes, which are common in fully convolutional models or dynamic seq2seq models.
  • Composite Operators: Create operators that build on other basic operators.
  • Custom Operators: Create custom implementations of operators in Swift.