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 GitPython python setup.py bdist_wheel pip install dist/<tosa_checker>.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
To report any security issue in the TOSA Checker, please see SECURITY.md.
TOSA Checker is licensed under [Apache License 2.0].