aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Bohlin <jacob.bohlin@arm.com>2021-02-11 17:05:39 +0100
committerJacob Bohlin <jacob.bohlin@arm.com>2021-02-16 09:26:19 +0100
commitb70f8171ca8a87296c41692417aa5e4595869bbf (patch)
tree5c4125ebd1e2398b2de7200b23c891dda77f5c5c
parentd70025250fc49997801ea3a6ce83f2fa29a09d78 (diff)
downloadethos-u-vela-b70f8171ca8a87296c41692417aa5e4595869bbf.tar.gz
Corrected the help string of --force-block-config
Made the same correction in OPTIONS.md Signed-off-by: Jacob Bohlin <jacob.bohlin@arm.com> Change-Id: If79ee5c4c7464b40a72bbe6871b52a9eb0b308e1
-rw-r--r--OPTIONS.md4
-rw-r--r--ethosu/vela/vela.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/OPTIONS.md b/OPTIONS.md
index 1293f17..dbd1869 100644
--- a/OPTIONS.md
+++ b/OPTIONS.md
@@ -123,8 +123,8 @@ vela network.tflite --cascading False
### Force Block Config
-Force a specific block configuration in the format HxWxC, where H, W, and C are
-positive integers specifying height, width, and channels (depth), respectively.
+Force a specific block configuration in the format WxHxC, where W, H and C are
+positive integers specifying width, height and channels (depth), respectively.
The default behaviour is Vela searching for an optimal block configuration. An
exception will be raised if the chosen block configuration is incompatible.
**Type: String**
diff --git a/ethosu/vela/vela.py b/ethosu/vela/vela.py
index 7271002..64a3381 100644
--- a/ethosu/vela/vela.py
+++ b/ethosu/vela/vela.py
@@ -294,7 +294,7 @@ def main(args=None):
choices=[True, False],
help="Controls the packing of multiple passes into a cascade (default: %(default)s)",
)
- parser.add_argument("--force-block-config", type=str, default="", help="Force a specific block configuration HxWxC")
+ parser.add_argument("--force-block-config", type=str, default="", help="Force a specific block configuration WxHxC")
parser.add_argument("--timing", action="store_true", help="Time the compiler doing operations")
parser.add_argument(
"--accelerator-config",