aboutsummaryrefslogtreecommitdiff
path: root/tosa.xml
diff options
context:
space:
mode:
authorDominic Symes <dominic.symes@arm.com>2022-11-30 14:25:20 +0000
committerEric Kunze <eric.kunze@arm.com>2022-12-05 19:19:06 +0000
commit4370b93cf307fa099973341c481e7c2d50eee572 (patch)
treebe16c19347251c1b104a4a902469ab73afa354d4 /tosa.xml
parente4d6a1b99337f33cfaf343005e355ef7a68b2be9 (diff)
downloadspecification-4370b93cf307fa099973341c481e7c2d50eee572.tar.gz
Clarify the type of condition tensors
Condition tensors used by the control flow operations must contain a single element. Change-Id: Ie3cb8f0b4a4149cee1b3aacbfa720dd4cad02fbc Signed-off-by: Dominic Symes <dominic.symes@arm.com>
Diffstat (limited to 'tosa.xml')
-rw-r--r--tosa.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tosa.xml b/tosa.xml
index 5a04023..fcd3597 100644
--- a/tosa.xml
+++ b/tosa.xml
@@ -2244,8 +2244,8 @@ used.</description>
<argument category="input" name="input_list" type="tensor_list_t" shape="-">
<description>List of input tensors</description>
</argument>
- <argument category="input" name="condition" type="bool_t" shape="-">
- <description>Input condition as rank-0 tensor</description>
+ <argument category="input" name="condition" type="bool_t*" shape="shape">
+ <description>Input condition as a size 1 tensor</description>
</argument>
<argument category="attribute" name="then_graph" type="tosa_graph_t" shape="-">
<description>TOSA graph to execute if condition is true</description>