aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/debug_database.py
diff options
context:
space:
mode:
authorJohan Alfven <johan.alfven@arm.com>2024-04-04 15:50:08 +0200
committerJohan Alfven <johan.alfven@arm.com>2024-04-05 09:03:24 +0200
commit31947ad1aec50b64508bf367cb3e87c93f8c4693 (patch)
tree0d2b1d91308ffb2feaeb8a82717b951bc1da4d99 /ethosu/vela/debug_database.py
parentabed3c27c9e02a96017b497a17fe8641c31c0502 (diff)
downloadethos-u-vela-31947ad1aec50b64508bf367cb3e87c93f8c4693.tar.gz
Fix various pre-commit errors
Change-Id: I8e584a036036f35a8883b2a4884cb2d54e675e39 Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Diffstat (limited to 'ethosu/vela/debug_database.py')
-rw-r--r--ethosu/vela/debug_database.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/ethosu/vela/debug_database.py b/ethosu/vela/debug_database.py
index 597f8410..f52cd023 100644
--- a/ethosu/vela/debug_database.py
+++ b/ethosu/vela/debug_database.py
@@ -1,4 +1,4 @@
-# SPDX-FileCopyrightText: Copyright 2020-2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
+# SPDX-FileCopyrightText: Copyright 2020-2022, 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -58,7 +58,16 @@ class DebugDatabase:
cls._sourceUID[op] = uid
ofm_shape = numeric_util.full_shape(3, op.outputs[0].shape, 1)
cls._sourceTable.append(
- [uid, str(op.type), op.kernel.width, op.kernel.height, ofm_shape[-2], ofm_shape[-3], ofm_shape[-1], op.op_index]
+ [
+ uid,
+ str(op.type),
+ op.kernel.width,
+ op.kernel.height,
+ ofm_shape[-2],
+ ofm_shape[-3],
+ ofm_shape[-1],
+ op.op_index,
+ ]
)
# Ops are added when their type changes, and after optimisation. If an op was already