Read the content of README.md directly into long_description of setuptools.setup

Change-Id: I4aaf3b7e47e0b714f13339867ee46a79a8530782
2 files changed
tree: f19f323b6acd56f511af44d0c2fa3d4eddc5c747
  1. .bazelrc
  2. .bazelversion
  3. .bazelversion.license
  4. .gitignore
  5. LICENSES.spdx
  6. LICENSES/
  7. README.md
  8. RELEASES.md
  9. WORKSPACE
  10. docker/
  11. examples/
  12. setup.cfg
  13. setup.py
  14. tests/
  15. tosa_checker/
README.md

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.

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.

Usage

>>> 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.