tree: 0c0cfe045568f8f1d995f5fc0b28c43afa4e9a3c [path history] [tgz]
  1. g3doc/
  2. graph_transformations/
  3. logging/
  4. python/
  5. runtime/
  6. tensorflow_graph_matching/
  7. tflite/
  8. allocate_transient_arrays.cc
  9. allocate_transient_arrays.h
  10. args.cc
  11. args.h
  12. BUILD
  13. dump_graphviz.cc
  14. dump_graphviz.h
  15. export_tensorflow.cc
  16. export_tensorflow.h
  17. format_port.h
  18. import_tensorflow.cc
  19. import_tensorflow.h
  20. import_tensorflow_test.cc
  21. model.h
  22. model_cmdline_flags.cc
  23. model_cmdline_flags.h
  24. model_cmdline_flags_test.cc
  25. model_flags.proto
  26. README.md
  27. tensorflow_util.cc
  28. tensorflow_util.h
  29. toco.cc
  30. toco_cmdline_flags.cc
  31. toco_cmdline_flags.h
  32. toco_cmdline_flags_test.cc
  33. toco_convert.cc
  34. toco_convert.h
  35. toco_convert_test.cc
  36. toco_flags.proto
  37. toco_graphviz_dump_options.cc
  38. toco_graphviz_dump_options.h
  39. toco_port.cc
  40. toco_port.h
  41. toco_port_test.cc
  42. toco_tooling.cc
  43. toco_tooling.h
  44. toco_types.h
  45. tooling_util.cc
  46. tooling_util.h
  47. tooling_util_test.cc
  48. types.proto
tensorflow/lite/toco/README.md

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