aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/backend
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 /src/mlia/backend
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 'src/mlia/backend')
-rw-r--r--src/mlia/backend/vela/compiler.py4
-rw-r--r--src/mlia/backend/vela/performance.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mlia/backend/vela/compiler.py b/src/mlia/backend/vela/compiler.py
index b62df24..afad05b 100644
--- a/src/mlia/backend/vela/compiler.py
+++ b/src/mlia/backend/vela/compiler.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
"""Vela compiler wrapper module."""
from __future__ import annotations
@@ -268,7 +268,7 @@ def optimize_model(
) -> None:
"""Optimize model and return it's path after optimization."""
logger.debug(
- "Optimize model %s for device %s",
+ "Optimize model %s for target %s",
model_path,
compiler_options.accelerator_config,
)
diff --git a/src/mlia/backend/vela/performance.py b/src/mlia/backend/vela/performance.py
index ccd2f6f..e545b85 100644
--- a/src/mlia/backend/vela/performance.py
+++ b/src/mlia/backend/vela/performance.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
"""Vela performance module."""
from __future__ import annotations
@@ -42,7 +42,7 @@ class PerformanceMetrics: # pylint: disable=too-many-instance-attributes
def estimate_performance(
model_path: Path, compiler_options: VelaCompilerOptions
) -> PerformanceMetrics:
- """Return performance estimations for the model/device.
+ """Return performance estimations for the model/target.
Logic for this function comes from Vela module stats_writer.py
"""