aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Klimczak <benjamin.klimczak@arm.com>2023-11-15 12:58:02 +0000
committerBenjamin Klimczak <benjamin.klimczak@arm.com>2023-11-15 13:02:36 +0000
commit2bd5b870c13d2785a3ff7177647f307e9ff3e58a (patch)
tree1d258c50df48c10b002a9eba8bc4a025bf58fb56 /src
parent2dd8f2e64e4ecfbd49ef05d9f6d2644dd11a0462 (diff)
downloadmlia-2bd5b870c13d2785a3ff7177647f307e9ff3e58a.tar.gz
Add linters/checkers for TOML files to pre-commits
Change-Id: I8a228cbab405b4d4112e5e38856b3cb92304cba7 Signed-off-by: Benjamin Klimczak <benjamin.klimczak@arm.com>
Diffstat (limited to 'src')
-rw-r--r--src/mlia/resources/target_profiles/cortex-a.toml4
-rw-r--r--src/mlia/resources/target_profiles/ethos-u55-128.toml11
-rw-r--r--src/mlia/resources/target_profiles/ethos-u55-256.toml11
-rw-r--r--src/mlia/resources/target_profiles/ethos-u65-256.toml11
-rw-r--r--src/mlia/resources/target_profiles/ethos-u65-512.toml11
-rw-r--r--src/mlia/resources/target_profiles/tosa.toml2
6 files changed, 19 insertions, 31 deletions
diff --git a/src/mlia/resources/target_profiles/cortex-a.toml b/src/mlia/resources/target_profiles/cortex-a.toml
index 3781206..7b39a60 100644
--- a/src/mlia/resources/target_profiles/cortex-a.toml
+++ b/src/mlia/resources/target_profiles/cortex-a.toml
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
-target="cortex-a"
+target = "cortex-a"
[backend.armnn-tflite-delegate]
-version="23.05"
+version = "23.05"
diff --git a/src/mlia/resources/target_profiles/ethos-u55-128.toml b/src/mlia/resources/target_profiles/ethos-u55-128.toml
index 71c6ec6..566e064 100644
--- a/src/mlia/resources/target_profiles/ethos-u55-128.toml
+++ b/src/mlia/resources/target_profiles/ethos-u55-128.toml
@@ -1,13 +1,10 @@
# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
-target="ethos-u55"
-
+target = "ethos-u55"
# Number of MACs [32, 64, 128, 256]
-mac=128
-
+mac = 128
# Memory mode: [SRAM Only, Shared SRAM, Dedicated SRAM]
-memory_mode="Shared_Sram"
-
+memory_mode = "Shared_Sram"
# System configuration
-system_config="Ethos_U55_High_End_Embedded"
+system_config = "Ethos_U55_High_End_Embedded"
diff --git a/src/mlia/resources/target_profiles/ethos-u55-256.toml b/src/mlia/resources/target_profiles/ethos-u55-256.toml
index f44cdfe..4f3b39b 100644
--- a/src/mlia/resources/target_profiles/ethos-u55-256.toml
+++ b/src/mlia/resources/target_profiles/ethos-u55-256.toml
@@ -1,13 +1,10 @@
# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
-target="ethos-u55"
-
+target = "ethos-u55"
# Number of MACs [32, 64, 128, 256]
-mac=256
-
+mac = 256
# Memory mode: [SRAM Only, Shared SRAM, Dedicated SRAM]
-memory_mode="Shared_Sram"
-
+memory_mode = "Shared_Sram"
# System configuration
-system_config="Ethos_U55_High_End_Embedded"
+system_config = "Ethos_U55_High_End_Embedded"
diff --git a/src/mlia/resources/target_profiles/ethos-u65-256.toml b/src/mlia/resources/target_profiles/ethos-u65-256.toml
index 078f60a..0a194af 100644
--- a/src/mlia/resources/target_profiles/ethos-u65-256.toml
+++ b/src/mlia/resources/target_profiles/ethos-u65-256.toml
@@ -1,13 +1,10 @@
# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
-target="ethos-u65"
-
+target = "ethos-u65"
# Number of MACs [256, 512]
-mac=256
-
+mac = 256
# Memory mode: [SRAM Only, Shared SRAM, Dedicated SRAM]
-memory_mode="Dedicated_Sram"
-
+memory_mode = "Dedicated_Sram"
# System configuration
-system_config="Ethos_U65_High_End"
+system_config = "Ethos_U65_High_End"
diff --git a/src/mlia/resources/target_profiles/ethos-u65-512.toml b/src/mlia/resources/target_profiles/ethos-u65-512.toml
index 6d32e63..1c6897f 100644
--- a/src/mlia/resources/target_profiles/ethos-u65-512.toml
+++ b/src/mlia/resources/target_profiles/ethos-u65-512.toml
@@ -1,13 +1,10 @@
# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
-target="ethos-u65"
-
+target = "ethos-u65"
# Number of MACs [256, 512]
-mac=512
-
+mac = 512
# Memory mode: [SRAM Only, Shared SRAM, Dedicated SRAM]
-memory_mode="Dedicated_Sram"
-
+memory_mode = "Dedicated_Sram"
# System configuration
-system_config="Ethos_U65_High_End"
+system_config = "Ethos_U65_High_End"
diff --git a/src/mlia/resources/target_profiles/tosa.toml b/src/mlia/resources/target_profiles/tosa.toml
index fb179ab..8eb0131 100644
--- a/src/mlia/resources/target_profiles/tosa.toml
+++ b/src/mlia/resources/target_profiles/tosa.toml
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright 2023, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
-target="tosa"
+target = "tosa"