Skip to content

coremltools 4.0

Compare
Choose a tag to compare
@aseemw aseemw released this 10 Oct 18:21
523d5e0

What's new in coremltools 4.0

  • New documentation available at http://coremltools.readme.io.
  • New converters from PyTorch, TensorFlow 1, and TensorFlow 2 available via the new unified converter API, ct.convert()
  • New Model Intermediate Language (MIL) builder library, using which the new converters have been implemented. Using MIL its easy to build neural network models directly or implement composite operations.
  • New utilities to configure inputs while converting from PyTorch and TensorFlow, using ct.convert() with ct.ImageType(), ct.ClassifierConfig(), etc., see details: https://coremltools.readme.io/docs/neural-network-conversion.

Highlights of Core ML 4

  • Model Deployment
  • Model Encryption
  • Unified converter API with PyTorch and TensorFlow 2 support in coremltools 4
  • MIL builder for neural networks and composite ops in coremltools 4
  • New layers in neural network:
    * CumSum
    * OneHot
    * ClampedReLu
    * ArgSort
    * SliceBySize
    * Convolution3D
    * Pool3D
    * Bilinear Upsample with align corners and fractional factors
    * PixelShuffle
    * MatMul with int8 weights and int8 activations
    * Concat interleave
    * See NeuralNetwork.proto
  • Enhanced Xcode model view with interactive previews
  • Enhanced Xcode Playground support for Core ML models