This project has been archived by its maintainers, and is no longer receiving any updates.
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.8 (python, python-dev and python-pip)
Building and installation
pip install -U pip setuptools wheel
pip install -U numpy GitPython
python setup.py bdist_wheel
pip install dist/<tosa_checker>.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
Security
To report any security issue in the TOSA Checker, please see SECURITY.md.
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.
Metadata
Release files for tosa-checker 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| tosa_checker-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details for tosa_checker-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| tosa_checker-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details for tosa_checker-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| tosa_checker-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.17+ x86-64 | Details for tosa_checker-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| tosa_checker-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.17+ x86-64 | Details for tosa_checker-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
Total release size: 66.7 MB
Release files / tosa_checker-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | tosa_checker-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 16.7 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
777cbbf7e47bbce5712339f6ffbb2d3d64ae1442f8af0d43a3ebd6b3525d1dfe
|
|
BLAKE2b-256 checksum How to use checksums |
3278e2e91168615914636cae5b25d5995b82a670f1a4134c88439e0cd07fe112
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0rc1
|
Release files / tosa_checker-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | tosa_checker-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 16.7 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8dbc3eef0b3299a8000b905e8170ee0f5091587140deab924d2f1aa2ec28f787
|
|
BLAKE2b-256 checksum How to use checksums |
af555dd7a9c0e17491300ccfc83bed4935b04643553fb7addbbc72b8e9b29d7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0rc1
|
Release files / tosa_checker-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | tosa_checker-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 16.7 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
6c4d82263392e1587f6ee6106b30dde14486ad056c455dd55200bbb2356d1439
|
|
BLAKE2b-256 checksum How to use checksums |
7f49e83586d96a17d1cb01d6f091bd26d69c0d65863ebc7b1ae16bc8d97c4ced
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0rc1
|
Release files / tosa_checker-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | tosa_checker-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 16.7 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
906592c25a51c9d5f45d232ab99b44e1327ca121754dc053e62cd5a59a08139d
|
|
BLAKE2b-256 checksum How to use checksums |
2ec40a2825f88e1666c881ca5f00e320c18503fd8b91810734fee001b6affd3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0rc1
|
Security for tosa-checker 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.