STT-tensorflow/tf/tensorflow/lite/toco
Mihai Maruseac 06923bb4fe initial
2021-01-21 09:06:36 -08:00
..
g3doc initial 2021-01-21 09:06:36 -08:00
graph_transformations initial 2021-01-21 09:06:36 -08:00
logging initial 2021-01-21 09:06:36 -08:00
python initial 2021-01-21 09:06:36 -08:00
runtime initial 2021-01-21 09:06:36 -08:00
tensorflow_graph_matching initial 2021-01-21 09:06:36 -08:00
tflite initial 2021-01-21 09:06:36 -08:00
allocate_transient_arrays.cc initial 2021-01-21 09:06:36 -08:00
allocate_transient_arrays.h initial 2021-01-21 09:06:36 -08:00
args.cc initial 2021-01-21 09:06:36 -08:00
args.h initial 2021-01-21 09:06:36 -08:00
BUILD initial 2021-01-21 09:06:36 -08:00
dump_graphviz.cc initial 2021-01-21 09:06:36 -08:00
dump_graphviz.h initial 2021-01-21 09:06:36 -08:00
export_tensorflow.cc initial 2021-01-21 09:06:36 -08:00
export_tensorflow.h initial 2021-01-21 09:06:36 -08:00
format_port.h initial 2021-01-21 09:06:36 -08:00
import_tensorflow_test.cc initial 2021-01-21 09:06:36 -08:00
import_tensorflow.cc initial 2021-01-21 09:06:36 -08:00
import_tensorflow.h initial 2021-01-21 09:06:36 -08:00
model_cmdline_flags_test.cc initial 2021-01-21 09:06:36 -08:00
model_cmdline_flags.cc initial 2021-01-21 09:06:36 -08:00
model_cmdline_flags.h initial 2021-01-21 09:06:36 -08:00
model_flags.proto initial 2021-01-21 09:06:36 -08:00
model.h initial 2021-01-21 09:06:36 -08:00
README.md initial 2021-01-21 09:06:36 -08:00
tensorflow_util.cc initial 2021-01-21 09:06:36 -08:00
tensorflow_util.h initial 2021-01-21 09:06:36 -08:00
toco_cmdline_flags_test.cc initial 2021-01-21 09:06:36 -08:00
toco_cmdline_flags.cc initial 2021-01-21 09:06:36 -08:00
toco_cmdline_flags.h initial 2021-01-21 09:06:36 -08:00
toco_convert_test.cc initial 2021-01-21 09:06:36 -08:00
toco_convert.cc initial 2021-01-21 09:06:36 -08:00
toco_convert.h initial 2021-01-21 09:06:36 -08:00
toco_flags.proto initial 2021-01-21 09:06:36 -08:00
toco_graphviz_dump_options.cc initial 2021-01-21 09:06:36 -08:00
toco_graphviz_dump_options.h initial 2021-01-21 09:06:36 -08:00
toco_port_test.cc initial 2021-01-21 09:06:36 -08:00
toco_port.cc initial 2021-01-21 09:06:36 -08:00
toco_port.h initial 2021-01-21 09:06:36 -08:00
toco_tooling.cc initial 2021-01-21 09:06:36 -08:00
toco_tooling.h initial 2021-01-21 09:06:36 -08:00
toco_types.h initial 2021-01-21 09:06:36 -08:00
toco.cc initial 2021-01-21 09:06:36 -08:00
tooling_util_test.cc initial 2021-01-21 09:06:36 -08:00
tooling_util.cc initial 2021-01-21 09:06:36 -08:00
tooling_util.h initial 2021-01-21 09:06:36 -08:00
types.proto initial 2021-01-21 09:06:36 -08:00

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