TensorFlow Conversion

Starting with coremltools 4.0, you can convert neural network models from TensorFlow 1 and TensorFlow 2 to Core ML using the Unified Converter API.

📘

Minimum deployment target

The Unified Converter API produces Core ML models for iOS 13, macOS 10.15, watchOS 6, tvOS 13 or newer deployment targets.

If your primary deployment target is iOS 12 or earlier, you can find limited conversion support for TensorFlow 1 models in the tfcoreml package.

For instructions, see the following: