diff options
author | Dmitrii Agibov <dmitrii.agibov@arm.com> | 2022-07-21 15:39:51 +0100 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2022-08-19 10:23:23 +0100 |
commit | c095de19e7f8a7e5277d9dd2ceab12c69112e352 (patch) | |
tree | f4b6ab4c2a82a62b97ee3398b1124efda0059fda | |
parent | e51c8ce569f7d0cd28606572f96260b93997b02c (diff) | |
download | mlia-c095de19e7f8a7e5277d9dd2ceab12c69112e352.tar.gz |
MLIA-548 Enable installation of the TOSA checker
Change-Id: I364527fd2d7990d37c6754907dd3609916e0a31c
-rw-r--r-- | README.md | 15 | ||||
-rw-r--r-- | setup.cfg | 2 |
2 files changed, 16 insertions, 1 deletions
@@ -95,6 +95,15 @@ Corstone™-310 is available as Arm® Virtual Hardware (AVH). * Please use the examples of MLIA using Corstone™-310 here to get started: <https://github.com/ARM-software/open-iot-sdk> +### Using TOSA checker + +TOSA compatibility checker is available in MLIA as an external dependency. +Please, install it into the same environment as MLIA using next command: + +```bash +pip install mlia[tosa] +``` + ## Usage After the initial setup, you can start the program by opening your terminal and @@ -124,7 +133,7 @@ mlia [command] --help ``` Most commands accept the name of the target profile as input parameter. -There are a number of predefined profiles with following attributes: +There are a number of predefined profiles for Ethos™-U with following attributes: ``` +--------------------------------------------------------------------+ @@ -138,6 +147,8 @@ There are a number of predefined profiles with following attributes: +--------------------------------------------------------------------+ ``` +Target profile "tosa" could be used for TOSA compatibility checks. + ### **Operators** (ops) #### *Description* @@ -166,6 +177,7 @@ mlia operators --target-profile ethos-u55-256 ~/models/mobilenet_v1_1.0_224_quan * ethos-u55-256 * ethos-u55-128 * ethos-u65-512 + * tosa ##### Output options @@ -318,6 +330,7 @@ mlia all_tests --output ./report.json ~/models/ds_cnn_l.h5 * ethos-u55-256 * ethos-u55-128 * ethos-u65-512 + * tosa ##### Output options @@ -50,6 +50,8 @@ dev = mypy==0.942 pylint==2.13.7 pre-commit +tosa = + tosa_checker==0.1.0 [flake8] # ignored errors |