aboutsummaryrefslogtreecommitdiff
path: root/tests/test_backend_vela_compat.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_backend_vela_compat.py')
-rw-r--r--tests/test_backend_vela_compat.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_backend_vela_compat.py b/tests/test_backend_vela_compat.py
index 4e0f149..0c39dd6 100644
--- a/tests/test_backend_vela_compat.py
+++ b/tests/test_backend_vela_compat.py
@@ -55,9 +55,11 @@ from mlia.utils.filesystem import working_directory
)
def test_operators(test_models_path: Path, model: str, expected_ops: Operators) -> None:
"""Test operators function."""
- target = EthosUConfiguration.load_profile("ethos-u55-256")
+ target_config = EthosUConfiguration.load_profile("ethos-u55-256")
- operators = supported_operators(test_models_path / model, target.compiler_options)
+ operators = supported_operators(
+ test_models_path / model, target_config.compiler_options
+ )
for expected, actual in zip(expected_ops.ops, operators.ops):
# do not compare names as they could be different on each model generation
assert expected.op_type == actual.op_type