From 284223e8e086dc6c7b7f1edf3b3555401e3d0a96 Mon Sep 17 00:00:00 2001 From: Tim Hall Date: Tue, 9 Jun 2020 13:17:21 +0100 Subject: MLBEDSW-2471: Remove unused CLI options - Removed --inter-pass-cycle-delay - Removed --dram-bandwidth - Removed --batch-size Signed-off-by: Tim Hall Change-Id: Ib613f47a9e911c652e522b5aa9ec58ae5391b0fd --- ethosu/vela/vela.py | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'ethosu/vela/vela.py') diff --git a/ethosu/vela/vela.py b/ethosu/vela/vela.py index bd5409ce..8dda8606 100644 --- a/ethosu/vela/vela.py +++ b/ethosu/vela/vela.py @@ -123,7 +123,6 @@ def main(args=None): "--output-dir", type=str, default="output", help="Output directory to write files to (default: %(default)s)" ) parser.add_argument("--config", type=str, help="Location of vela configuration file") - parser.add_argument("--batch-size", type=int, default=1, help="Batch size (default: %(default)s)") parser.add_argument("--verbose-graph", action="store_true", help="Verbose graph rewriter") parser.add_argument("--verbose-quantization", action="store_true", help="Verbose quantization") @@ -166,12 +165,6 @@ def main(args=None): help="Controls the overlapping of IFM and OFM buffers (default: %(default)s)", ) parser.add_argument("--force-block-config", type=str, default="", help="Force a specific block configuration HxWxC") - parser.add_argument( - "--inter-pass-cycle-delay", - type=int, - default=0, - help="Artificial delay between passes, measured in NPU cycles (default: %(default)s)", - ) parser.add_argument("--timing", action="store_true", help="Time the compiler doing operations") parser.add_argument( "--accelerator-config", @@ -186,12 +179,6 @@ def main(args=None): default="internal-default", help="System configuration to use (default: %(default)s)", ) - parser.add_argument( - "--dram-bandwidth", - type=float, - default=0.0, - help="DRAM memory bandwidth in GB/s, use zero to select the value from system config (default: %(default)s)", - ) parser.add_argument( "--permanent-storage", default=MemArea.OffChipFlash, @@ -285,8 +272,6 @@ def main(args=None): system_config=args.system_config, accelerator_config=args.accelerator_config, permanent_storage=args.permanent_storage, - inter_pass_cycle_delay=args.inter_pass_cycle_delay, - dram_bandwidth=args.dram_bandwidth, override_block_config=force_block_config, block_config_limit=args.block_config_limit, global_memory_clock_scale=args.global_memory_clock_scale, @@ -319,7 +304,7 @@ def main(args=None): pareto_metric=args.pareto_metric, ) - model_reader_options = model_reader.ModelReaderOptions(batch_size=args.batch_size) + model_reader_options = model_reader.ModelReaderOptions() os.makedirs(args.output_dir, exist_ok=True) -- cgit v1.2.1