aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--OPTIONS.md8
-rw-r--r--ethosu/vela/vela.py6
2 files changed, 14 insertions, 0 deletions
diff --git a/OPTIONS.md b/OPTIONS.md
index 4c5b3e83..a97ba4ea 100644
--- a/OPTIONS.md
+++ b/OPTIONS.md
@@ -314,6 +314,14 @@ Prints a summary of all the subgraphs and their inputs and outputs.
vela network.tflite --show-subgraph-io-summary
```
+### Verbose All
+
+Enable all `--verbose-*` options.
+
+```bash
+vela network.tflite --verbose-all
+```
+
### Verbose Config
Verbose system configuration and memory mode. If no `--system-config` or
diff --git a/ethosu/vela/vela.py b/ethosu/vela/vela.py
index 08ab4831..37de1ed2 100644
--- a/ethosu/vela/vela.py
+++ b/ethosu/vela/vela.py
@@ -221,6 +221,7 @@ def main(args=None):
parser.add_argument(
"--config", type=str, action="append", help="Vela configuration file(s) in Python ConfigParser .ini file format"
)
+ parser.add_argument("--verbose-all", action="store_true", help="Enable all verbose options")
parser.add_argument("--verbose-config", action="store_true", help="Verbose system configuration and memory mode")
parser.add_argument("--verbose-graph", action="store_true", help="Verbose graph rewriter")
parser.add_argument("--verbose-quantization", action="store_true", help="Verbose quantization")
@@ -384,6 +385,11 @@ def main(args=None):
if args.memory_mode == ArchitectureFeatures.DEFAULT_CONFIG:
print(f"Warning: Using {ArchitectureFeatures.DEFAULT_CONFIG} values for memory mode")
+ if args.verbose_all:
+ for v in vars(args):
+ if v.startswith("verbose") and v != "verbose_all":
+ setattr(args, v, True)
+
arch = architecture_features.ArchitectureFeatures(
vela_config_files=args.config,
system_config=args.system_config,