STT-tensorflow/tensorflow/lite/toco/README.md

1.3 KiB

TensorFlow Lite Converter

The TensorFlow Lite Converter converts TensorFlow graphs into TensorFlow Lite graphs. There are additional usages that are also detailed in the usage documentation.

Usage documentation

Usage information is given in these documents:

Where the converter fits in the TensorFlow landscape

Once an application developer has a trained TensorFlow model, the TensorFlow Lite Converter will accept that model and generate a TensorFlow Lite FlatBuffer file. The converter currently supports SavedModels, frozen graphs (models generated via freeze_graph.py), and tf.Keras model files. The TensorFlow Lite FlatBuffer file can be shipped to client devices, generally mobile devices, where the TensorFlow Lite interpreter handles them on-device. This flow is represented in the diagram below.

drawing