diff options
Diffstat (limited to 'tests/test_backend_vela_compat.py')
-rw-r--r-- | tests/test_backend_vela_compat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_backend_vela_compat.py b/tests/test_backend_vela_compat.py index 4653d7d..4e0f149 100644 --- a/tests/test_backend_vela_compat.py +++ b/tests/test_backend_vela_compat.py @@ -55,9 +55,9 @@ from mlia.utils.filesystem import working_directory ) def test_operators(test_models_path: Path, model: str, expected_ops: Operators) -> None: """Test operators function.""" - device = EthosUConfiguration.load_profile("ethos-u55-256") + target = EthosUConfiguration.load_profile("ethos-u55-256") - operators = supported_operators(test_models_path / model, device.compiler_options) + operators = supported_operators(test_models_path / model, target.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 |