diff options
author | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2023-02-10 13:12:57 +0000 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2023-02-10 14:56:43 +0000 |
commit | 718277eaece76902c4950f18d428907b39a18ef1 (patch) | |
tree | 6fda1b8f8c2c0151f3697a2e9f31c2f5551cc2ff /tests/test_backend_corstone_performance.py | |
parent | fa1fad9332e2912f12a44a1b07716ee434174308 (diff) | |
download | mlia-718277eaece76902c4950f18d428907b39a18ef1.tar.gz |
MLIA-769 Add "pretty names" for targets / backends
- Provide "pretty names" to print information for targets and backends.
- Use 'target_config' instead of 'target' if a target profile is
used.
- Fix minor issue in output regarding the output directory.
Change-Id: Ib38231f30b4d609a0d1e8f9c52b2fb547c69cb6a
Diffstat (limited to 'tests/test_backend_corstone_performance.py')
-rw-r--r-- | tests/test_backend_corstone_performance.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_backend_corstone_performance.py b/tests/test_backend_corstone_performance.py index 2d5b196..d3d378e 100644 --- a/tests/test_backend_corstone_performance.py +++ b/tests/test_backend_corstone_performance.py @@ -81,7 +81,7 @@ def test_generic_inference_output_parser_failure(wrong_fvp_output: list[str]) -> [ [ Path("backend_path"), - "Corstone-300", + "corstone-300", "ethos-u55", 256, Path("model.tflite"), @@ -163,7 +163,7 @@ def test_estimate_performance(monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setattr("mlia.utils.proc.command_output", command_output_mock) result = estimate_performance( - "ethos-u55", 256, Path("model.tflite"), "Corstone-300" + "ethos-u55", 256, Path("model.tflite"), "corstone-300" ) assert result == PerformanceMetrics(1, 2, 3, 4, 5, 6) |