diff options
author | Raul Farkas <raul.farkas@arm.com> | 2022-10-12 10:48:35 +0100 |
---|---|---|
committer | Raul Farkas <raul.farkas@arm.com> | 2022-10-18 14:29:23 +0100 |
commit | 4fa21325ec498adbf467876c2413c054d0e85c5b (patch) | |
tree | 892d68467bc6666e9daf74ab4d141810dcec1ac6 /src/mlia/api.py | |
parent | 89c1f4bafb51dbbed705b6960810d90825318b13 (diff) | |
download | mlia-4fa21325ec498adbf467876c2413c054d0e85c5b.tar.gz |
MLIA-409 Create new Cortex-A device skeleton
* Add Cortex-A device skeleton
* Add unit tests for the Cortex-A device skeleton
* Update profiles.json by adding the new "cortex-a" profile
* Add new cortex-a factory to the get_advisor method in api.py
* Disable performance and optimization commands for the cortex-a
profile.
* Update trademarks section in README.md
* Update pyproject.toml to not run similarity check in imports
Change-Id: I2e228aaada1e2d3c5cc329d70572b51962ff517f
Diffstat (limited to 'src/mlia/api.py')
-rw-r--r-- | src/mlia/api.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mlia/api.py b/src/mlia/api.py index 878e316..fc61af0 100644 --- a/src/mlia/api.py +++ b/src/mlia/api.py @@ -12,6 +12,7 @@ from mlia.core.advisor import InferenceAdvisor from mlia.core.common import AdviceCategory from mlia.core.context import ExecutionContext from mlia.core.typing import PathOrFileLike +from mlia.devices.cortexa.advisor import configure_and_get_cortexa_advisor from mlia.devices.ethosu.advisor import configure_and_get_ethosu_advisor from mlia.devices.tosa.advisor import configure_and_get_tosa_advisor from mlia.utils.filesystem import get_target @@ -104,6 +105,7 @@ def get_advisor( "ethos-u55": configure_and_get_ethosu_advisor, "ethos-u65": configure_and_get_ethosu_advisor, "tosa": configure_and_get_tosa_advisor, + "cortex-a": configure_and_get_cortexa_advisor, } try: |