[Announcement] coremltools 0.7.0 release notes

This thread has been locked by a moderator.

Pypi: https://pypi.python.org/pypi/coremltools

Github: https://github.com/apple/coremltools/releases/tag/0.7.0


Neural Networks

  • Half precision weights
    • New to .mlmodel specification version 2
    • Supported by macOS 10.13.2, iOS 11.2, watchOS 4.2, tvOS 11.2
    • WeightParams can now be specified in half precision (float16)
    • New conversion utility function can convert existing models with neural networks to half precision: coremltools.utils.convert_neural_network_spec_weights_to_fp16
    • Can also pass in a flag in keras or caffe converter functions during model conversion time to convert models to half precision
    • See: https://developer.apple.com/documentation/coreml/reducing_the_size_of_your_core_ml_app
  • Custom Layers

Visualization

Visualize model specification with: coremltools.utils.visualize_spec


Python 3

Misc

  • Support grayscale image outputs in python predictions
  • Bug fixes
Up vote post of Frameworks Engineer
1.3k views