aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/vela.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/vela.py')
-rw-r--r--ethosu/vela/vela.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/ethosu/vela/vela.py b/ethosu/vela/vela.py
index b5dfd80c..c44c7894 100644
--- a/ethosu/vela/vela.py
+++ b/ethosu/vela/vela.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-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -377,6 +377,11 @@ def main(args=None):
)
parser.add_argument("--timing", action="store_true", help="Time the compiler doing operations")
parser.add_argument(
+ "--force-symmetric-int-weights",
+ action="store_true",
+ help="Forces all zero points to 0 for signed integer weights",
+ )
+ parser.add_argument(
"--accelerator-config",
type=str,
default="ethos-u55-256",
@@ -553,6 +558,7 @@ def main(args=None):
show_cpu_operations=args.show_cpu_operations,
tensor_allocator=args.tensor_allocator,
timing=args.timing,
+ force_symmetric_int_weights=args.force_symmetric_int_weights,
output_dir=args.output_dir,
cpu_tensor_alignment=args.cpu_tensor_alignment,
hillclimb_max_iterations=args.hillclimb_max_iterations,