From a4fb8c72f15146c95df16c25e75f03344e9814fd Mon Sep 17 00:00:00 2001 From: Benjamin Klimczak Date: Wed, 11 Jan 2023 12:32:02 +0000 Subject: MLIA-591 Create interface for target profiles New class 'TargetProfile' is used to load and verify target profiles. Change-Id: I76373a923e2e5f55c4e95860635afe9fc5627a5d --- tests/test_backend_vela_compat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_backend_vela_compat.py') diff --git a/tests/test_backend_vela_compat.py b/tests/test_backend_vela_compat.py index a2e7f90..4653d7d 100644 --- a/tests/test_backend_vela_compat.py +++ b/tests/test_backend_vela_compat.py @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. +# SPDX-FileCopyrightText: Copyright 2022-2023, Arm Limited and/or its affiliates. # SPDX-License-Identifier: Apache-2.0 """Tests for module vela/compat.""" from pathlib import Path @@ -55,7 +55,7 @@ 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("ethos-u55-256") + device = EthosUConfiguration.load_profile("ethos-u55-256") operators = supported_operators(test_models_path / model, device.compiler_options) for expected, actual in zip(expected_ops.ops, operators.ops): -- cgit v1.2.1