October 2018
Intermediate to advanced
246 pages
6h 26m
English
TensorFlow-to-CoreML conversion is done using the tf-coreml library.
We have a three steps process for converting a TensorFlow model to Core ML.
# tfcoreml src # file1 : _interpret_shapes.py # in the _SHAPE_TRANSLATOR_REGISTRY we need to add the Pow operation _SHAPE_TRANSLATOR_REGISTRY = { ... previous keys ... # add this: 'Pow': _identity, } # file 2: _ops_to_layers.py ...Read now
Unlock full access