commit | a2bcf5f818699082adfd346eba216d96f14d6e6c | [log] [tgz] |
---|---|---|
author | Saoirse Stewart <saoirse.stewart@arm.com> | Wed Nov 16 11:52:03 2022 +0000 |
committer | Saoirse Stewart <saoirse.stewart@arm.com> | Tue Nov 22 11:14:23 2022 +0000 |
tree | 26f35dc55fe5984b4301f0a909a3be89952b9c5f | |
parent | b4240d3aa133b8eefd253498e3f2cc321e24ab84 [diff] |
Add FORTIFY_SOURCE to build options for TOSA checker Change-Id: Ic2bcc6b15a68ac18966f4523f4ddea74f616992d
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].