-
Notifications
You must be signed in to change notification settings - Fork 74.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename URL paths. PiperOrigin-RevId: 216889190
- Loading branch information
1 parent
e19fa8a
commit 865b278
Showing
11 changed files
with
35 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...g3doc/tflite_convert/cmdline_reference.md → ...b/lite/g3doc/convert/cmdline_reference.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# TensorFlow Lite Converter | ||
|
||
The TensorFlow Lite Converter takes a TensorFlow graph file and creates a graph | ||
file used by the TensorFlow Lite interpreter. | ||
|
||
## From model training to device deployment | ||
|
||
After a TensorFlow model is trained, the TensorFlow Lite converter uses that | ||
model to generate a TensorFlow Lite [FlatBuffer](https://google.github.io/flatbuffers/) | ||
file (`.tflite`). The converter supports as input: | ||
[SavedModels](https://www.tensorflow.org/guide/saved_model#using_savedmodel_with_estimators), | ||
frozen graphs (models generated by | ||
[freeze_graph.py](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/tools/freeze_graph.py)), | ||
and `tf.keras` models. The TensorFlow Lite `FlatBuffer` file is deployed to a | ||
client device (generally a mobile or embedded device), and the TensorFlow Lite | ||
interpreter uses the compressed model for on-device inference. This conversion | ||
process is shown in the diagram below: | ||
|
||
![TFLite converter workflow](../images/convert/workflow.svg) |
2 changes: 1 addition & 1 deletion
2
...b/lite/g3doc/tflite_convert/python_api.md → .../contrib/lite/g3doc/convert/python_api.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
tensorflow/contrib/lite/g3doc/tflite_convert/toco_landscape.svg
This file was deleted.
Oops, something went wrong.