aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael McGeagh <michael.mcgeagh@arm.com>2020-11-24 14:58:51 +0000
committerMichael McGeagh <michael.mcgeagh@arm.com>2020-11-25 10:50:16 +0000
commit54a6111883f7bb4245770909c4c13ee7c92f41cc (patch)
tree8c9e96602b903f4e2a8e4ef4c6ef7e1cb9ea502d
parent298e383d2dbab465ddd4995a6ebc6f8bc07c8719 (diff)
downloadethos-u-vela-54a6111883f7bb4245770909c4c13ee7c92f41cc.tar.gz
vela: Fixed formatting of SUPPORTED_OPS
mlplatform uses gitiles, which in turn renders markdown differently: "There must be at least three hyphens in each column of the header row" Updated the generation code and the snapshot file to respect this, as well as changed the link from commonmark (which does not support tables) Signed-off-by: Michael McGeagh <michael.mcgeagh@arm.com> Change-Id: If31860ce8e38ebe7d68bfec61faff805fc00345b
-rw-r--r--SUPPORTED_OPS.md5
-rw-r--r--ethosu/vela/vela.py5
2 files changed, 6 insertions, 4 deletions
diff --git a/SUPPORTED_OPS.md b/SUPPORTED_OPS.md
index 81a3bbc..fdda157 100644
--- a/SUPPORTED_OPS.md
+++ b/SUPPORTED_OPS.md
@@ -3,7 +3,8 @@
This file was automatically generated by Vela using the `--supported-ops-report` parameter.
Vela version: `2.0.0`
-This file complies with [**CommonMark.**](https://commonmark.org)
+This file complies with
+[**Gitiles Markdown syntax**](https://github.com/google/gitiles/blob/master/Documentation/markdown.md)
## Summary Table
@@ -13,7 +14,7 @@ For any other TFLite operator not listed, will be left untouched and scheduled o
Please check the supported operator list for your chosen runtime for further information.
| Operator | Constraints |
-| - | - |
+| --- | --- |
| ABS | [Generic](#generic-constraints), [Specific](#abs-constraints) |
| ADD | [Generic](#generic-constraints), [Specific](#add-constraints) |
| AVERAGE_POOL_2D | [Generic](#generic-constraints), [Specific](#average_pool_2d-constraints) |
diff --git a/ethosu/vela/vela.py b/ethosu/vela/vela.py
index 7b76685..f03bae7 100644
--- a/ethosu/vela/vela.py
+++ b/ethosu/vela/vela.py
@@ -130,7 +130,8 @@ def generate_supported_ops():
"This file was automatically generated by Vela using the `--supported-ops-report` parameter. ",
f"Vela version: `{__version__}`",
"",
- "This file complies with [**CommonMark.**](https://commonmark.org)",
+ "This file complies with",
+ "[**Gitiles Markdown syntax**](https://github.com/google/gitiles/blob/master/Documentation/markdown.md)",
"",
"## Summary Table",
"",
@@ -140,7 +141,7 @@ def generate_supported_ops():
"Please check the supported operator list for your chosen runtime for further information.",
"",
"| Operator | Constraints |",
- "| - | - |",
+ "| --- | --- |",
]
supported = SupportedOperators()
op_constraint_links = []