TFL FAQ: Introduce the new visualize module.

PiperOrigin-RevId: 344197331
Change-Id: I8740009fde508804e776969e90863c69abacc490
This commit is contained in:
Tiezhen WANG 2020-11-24 23:38:37 -08:00 committed by TensorFlower Gardener
parent ee21279508
commit 7169c41bc5

View File

@ -72,6 +72,14 @@ If Netron cannot open your TensorFlow Lite model, you can try the
[visualize.py](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/tools/visualize.py)
script in our repository.
If you're using TF 2.5 or a later version
```shell
python -m tensorflow.lite.tools.visualize model.tflite visualized_model.html
```
Otherwise, you can run this script with Bazel
* [Clone the TensorFlow repository](https://www.tensorflow.org/install/source)
* Run the `visualize.py` script with bazel: