aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Petit <kevin.petit@arm.com>2023-05-10 16:21:23 +0100
committerEric Kunze <eric.kunze@arm.com>2023-05-17 15:02:46 +0000
commitc0e467a02522a1b2706d7ac0ba2f952a36e62767 (patch)
tree193dd45b574f305bc09f8e04357bebf427328828
parent42085e36b0b47209ca767a3b8300f689cb6ec0bf (diff)
downloadspecification-c0e467a02522a1b2706d7ac0ba2f952a36e62767.tar.gz
Swap order of condition and input_list arguments on COND_IF
This make it easier for implementations to use variadic constructs to implement input_list. Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: I3fcc40be30551d883ead506f5eba2aa08cc5186e
-rw-r--r--tosa.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tosa.xml b/tosa.xml
index 5b863bb..a9d8b5a 100644
--- a/tosa.xml
+++ b/tosa.xml
@@ -2447,13 +2447,13 @@ used.</description>
<operator>
<name>COND_IF</name>
<arguments>
- <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="shape">
<description>Input condition as a size 1 tensor</description>
<rank min="1" max="MAX_RANK"/>
</argument>
+ <argument category="input" name="input_list" type="tensor_list_t" shape="-">
+ <description>List of input tensors</description>
+ </argument>
<argument category="attribute" name="then_graph" type="tosa_graph_t" shape="-">
<description>TOSA graph to execute if condition is true</description>
</argument>