aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/target/cortex_a/advisor.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mlia/target/cortex_a/advisor.py')
-rw-r--r--src/mlia/target/cortex_a/advisor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mlia/target/cortex_a/advisor.py b/src/mlia/target/cortex_a/advisor.py
index 3c127ec..db07b96 100644
--- a/src/mlia/target/cortex_a/advisor.py
+++ b/src/mlia/target/cortex_a/advisor.py
@@ -45,12 +45,12 @@ class CortexAInferenceAdvisor(DefaultInferenceAdvisor):
collectors.append(CortexAOperatorCompatibility(model, target_config))
if context.category_enabled(AdviceCategory.PERFORMANCE):
- raise Exception(
+ raise RuntimeError(
"Performance estimation is currently not supported for Cortex-A."
)
if context.category_enabled(AdviceCategory.OPTIMIZATION):
- raise Exception(
+ raise RuntimeError(
"Model optimizations are currently not supported for Cortex-A."
)