diff options
author | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2023-02-08 16:00:34 +0000 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2023-02-10 13:45:18 +0000 |
commit | fa1fad9332e2912f12a44a1b07716ee434174308 (patch) | |
tree | 246dfdb4ec9c495faaa55d73e061bcb4f8171d98 /tests/test_backend_vela_compat.py | |
parent | 7a661257b6adad0c8f53e32b42ced56a1e7d952f (diff) | |
download | mlia-fa1fad9332e2912f12a44a1b07716ee434174308.tar.gz |
MLIA-769 Replace use of 'device' with 'target'
Term 'device' can be ambiguous and is replaced with 'target'.
Change-Id: I5e5108d033a13b98e4c2997713e1c32bce63ae62
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 |