diff options
author | Thibaut Goetghebuer-Planchon <thibaut.goetghebuer-planchon@arm.com> | 2022-07-06 10:23:22 +0100 |
---|---|---|
committer | Thibaut Goetghebuer-Planchon <thibaut.goetghebuer-planchon@arm.com> | 2022-08-18 14:35:45 +0100 |
commit | 52dacd6556d60815253d4e4938e218ea3d8084a2 (patch) | |
tree | 4c470c567da6f70f65987d5af161bf4f950d107b /README.md | |
parent | cc5d89eea4ff3dc398cac3b6025450f48ac20c1e (diff) | |
download | tosa_checker-52dacd6556d60815253d4e4938e218ea3d8084a2.tar.gz |
Initial commit0.1.0-rc.1
Change-Id: I2fb0933d595a6ede6417d09dd905ef72d6c60c9b
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..361ac8b --- /dev/null +++ b/README.md @@ -0,0 +1,54 @@ +<!--- +SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. +SPDX-License-Identifier: Apache-2.0 +---> +# TOSA Checker + +## Overview + +The TOSA Checker is a tool that provides an easy way to ensure that a TensorFlow™ Lite model is compatible with the [TOSA specification](https://www.mlplatform.org/tosa). + +The project is currently in alpha, some stability issues may still be found. + +## Prerequisites + +To build the TOSA Checker the following are required: + +* Ubuntu® 20.04.03 LTS (the TOSA Checker has been tested on this OS, but should work on other Linux® OS) +* Bazel™ (Bazelisk is an easy way to install the correct version of Bazel™) +* Git™ +* Python® >=3.7 (python, python-dev and python-pip) + +## Building and installation + +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 + +## Docker™ image + +A Docker™ image to build the TOSA Checker is also provided. More information can be found on [docker/README.md](docker/README.md). + +## Usage + +```python +>>> import tosa_checker as tc +>>> checker = tc.TOSAChecker(model_path="model.tflite") +>>> checker.is_tosa_compatible() +True +``` + +## License + +TOSA Checker is licensed under [Apache License 2.0]. + +## Trademarks and Copyrights + +Bazel™ is a trademark of Google® LLC. +Git™ is a trademark of Software Freedom Conservancy. +Linux® is the registered trademark of Linus Torvalds in the U.S. and elsewhere. +Python® is a registered trademark of the PSF. +Ubuntu® is a registered trademark of Canonical. +Tensorflow™ is a trademark of Google® LLC. +Docker™ is a trademark of Docker, Inc. |