commit | f756c5179bafd98cc4e912de8c4177cc4c000519 | [log] [tgz] |
---|---|---|
author | Tom Allsop <tom.allsop@arm.com> | Thu Feb 02 15:42:12 2023 +0000 |
committer | Tom Allsop <tom.allsop@arm.com> | Thu Feb 02 15:42:12 2023 +0000 |
tree | b089c00461bc677280ee53e212f98db48158b290 | |
parent | 6f326467592d282a67e289bb2a2c9ef9c3755a70 [diff] |
Add support for building nightly packages * --nightly option is now added to setup.py * TensorFlow version is now recorded in module Change-Id: Id11c8cb1ee91cfe83a93340b7bcba2667dae62f0
The TOSA Checker is a tool that provides an easy way to ensure that a TensorFlow™ Lite model is compatible with the TOSA specification.
The project is currently in alpha, some stability issues may still be found.
To build the TOSA Checker the following are required:
pip install -U pip setuptools wheel pip install -U numpy python setup.py bdist_wheel pip install dist/tosa_checker-0.1.0-cp38-cp38-linux_x86_64.whl
A Docker™ image to build the TOSA Checker is also provided. More information can be found on docker/README.md.
>>> import tosa_checker as tc >>> checker = tc.TOSAChecker(model_path="model.tflite") >>> checker.is_tosa_compatible() True
TOSA Checker is licensed under [Apache License 2.0].