aboutsummaryrefslogtreecommitdiff
path: root/tests/test_backend_vela_compiler.py
diff options
context:
space:
mode:
authorBenjamin Klimczak <benjamin.klimczak@arm.com>2023-02-08 16:00:34 +0000
committerBenjamin Klimczak <benjamin.klimczak@arm.com>2023-02-10 13:45:18 +0000
commitfa1fad9332e2912f12a44a1b07716ee434174308 (patch)
tree246dfdb4ec9c495faaa55d73e061bcb4f8171d98 /tests/test_backend_vela_compiler.py
parent7a661257b6adad0c8f53e32b42ced56a1e7d952f (diff)
downloadmlia-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_compiler.py')
-rw-r--r--tests/test_backend_vela_compiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_backend_vela_compiler.py b/tests/test_backend_vela_compiler.py
index 2d937ea..0434ccf 100644
--- a/tests/test_backend_vela_compiler.py
+++ b/tests/test_backend_vela_compiler.py
@@ -158,8 +158,8 @@ def test_optimize_model(tmp_path: Path, test_tflite_model: Path) -> None:
"""Test model optimization and saving into file."""
tmp_file = tmp_path / "temp.tflite"
- device = EthosUConfiguration.load_profile("ethos-u55-256")
- optimize_model(test_tflite_model, device.compiler_options, tmp_file.absolute())
+ target = EthosUConfiguration.load_profile("ethos-u55-256")
+ optimize_model(test_tflite_model, target.compiler_options, tmp_file.absolute())
assert tmp_file.is_file()
assert tmp_file.stat().st_size > 0