commit | b4240d3aa133b8eefd253498e3f2cc321e24ab84 | [log] [tgz] |
---|---|---|
author | Tom Allsop <tom.allsop@arm.com> | Fri Nov 04 10:40:10 2022 +0000 |
committer | Tom Allsop <tom.allsop@arm.com> | Mon Nov 14 11:35:09 2022 +0000 |
tree | 0fc478cdfc2ed902eda7d0c9afe2734987047c89 | |
parent | 04a2328f9683b7fe97579a3310d2f473f38717dd [diff] |
Added ASAN & UBSAN build options and Dockerfile for sanitized builds * Added SanitizerBuild.Dockerfile for running sanitized builds. * Added dependencies for bandit into SanitizerBuild.Dockerfile. * Added --sanitizer option to setup.py. * Added .bandit.yaml. Change-Id: I4dd41bc52790a1b7f17ffca556362e37860ab572
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].