diff options
Diffstat (limited to 'ethosu/vela/vela.py')
-rw-r--r-- | ethosu/vela/vela.py | 6 |
1 files changed, 6 insertions, 0 deletions
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, |