diff options
author | Dmitrii Agibov <dmitrii.agibov@arm.com> | 2022-07-21 14:06:50 +0100 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2022-08-19 10:23:23 +0100 |
commit | 664d8c55609253e68d153a91514c8fefa00557b1 (patch) | |
tree | 4b2a0ecaf30e9151d6b971a24fa6c6104884896f /tests/test_api.py | |
parent | a8ee1aee3e674c78a77801d1bf2256881ab6b4b9 (diff) | |
download | mlia-664d8c55609253e68d153a91514c8fefa00557b1.tar.gz |
MLIA-549 Integrate TOSA checker into MLIA
- Add new module for TOSA
- Add advisor workflow components
- Use TOSA checker for getting operators compatibility
information
Change-Id: I769e5e2a84e15779658f0895b4a347384def63bf
Diffstat (limited to 'tests/test_api.py')
-rw-r--r-- | tests/test_api.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_api.py b/tests/test_api.py index e8df7af..7b567bf 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -12,6 +12,7 @@ from mlia.core.common import AdviceCategory from mlia.core.context import Context from mlia.core.context import ExecutionContext from mlia.devices.ethosu.advisor import EthosUInferenceAdvisor +from mlia.devices.tosa.advisor import TOSAInferenceAdvisor def test_get_advice_no_target_provided(test_keras_model: Path) -> None: @@ -103,3 +104,6 @@ def test_get_advisor( ExecutionContext(), "ethos-u55-256", str(test_keras_model) ) assert isinstance(ethos_u55_advisor, EthosUInferenceAdvisor) + + tosa_advisor = get_advisor(ExecutionContext(), "tosa", str(test_keras_model)) + assert isinstance(tosa_advisor, TOSAInferenceAdvisor) |