diff options
author | Eric Kunze <eric.kunze@arm.com> | 2023-06-30 15:04:25 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-07-11 15:45:09 -0700 |
commit | 67f6b26eab3da732cc05f26be3b5ef3b6fdbcf64 (patch) | |
tree | 6dc71bb8b1708a23cb36631d7bd02f7d097245ae | |
parent | abb883a0b7ab8e7efe2419ea803e3bae38873cf4 (diff) | |
download | specification-67f6b26eab3da732cc05f26be3b5ef3b6fdbcf64.tar.gz |
Change max rank for reduction operators to MAX_RANK
This aligns them with most of the other operators, with the
maximum rank handled defined by the level parameter MAX_RANK.
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Iad9dd285121b4252b39e8e4c3d12a762299c9722
-rw-r--r-- | tosa.xml | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1684,7 +1684,7 @@ <arguments> <argument category="input" name="input" type="tensor_t" shape="shape1" tensor-element-type="in_out_t"> <description>Input tensor</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> <argument category="attribute" name="axis" type="tensor_t" shape="-" tensor-element-type="int32_t"> <description>Axis to reduce, in range from 0 to rank(shape1)-1</description> @@ -1692,7 +1692,7 @@ </argument> <argument category="output" name="output" type="tensor_t" shape="shape" tensor-element-type="in_out_t"> <description>Output tensor. Same rank as the input tensor.</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> </arguments> <types> @@ -1705,7 +1705,7 @@ <arguments> <argument category="input" name="input" type="tensor_t" shape="shape1" tensor-element-type="in_out_t"> <description>Input tensor</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> <argument category="attribute" name="axis" type="tensor_t" shape="-" tensor-element-type="int32_t"> <description>Axis to reduce, in range from 0 to rank(shape1)-1</description> @@ -1713,7 +1713,7 @@ </argument> <argument category="output" name="output" type="tensor_t" shape="shape" tensor-element-type="in_out_t"> <description>Output tensor. Same rank as the input tensor.</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> </arguments> <types> @@ -1726,7 +1726,7 @@ <arguments> <argument category="input" name="input" type="tensor_t" shape="shape1" tensor-element-type="in_out_t"> <description>Input tensor</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> <argument category="attribute" name="axis" type="tensor_t" shape="-" tensor-element-type="int32_t"> <description>Axis to reduce, in range from 0 to rank(shape1)-1</description> @@ -1734,7 +1734,7 @@ </argument> <argument category="output" name="output" type="tensor_t" shape="shape" tensor-element-type="in_out_t"> <description>Output tensor. Same rank as the input tensor.</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> </arguments> <types> @@ -1761,7 +1761,7 @@ <arguments> <argument category="input" name="input" type="tensor_t" shape="shape1" tensor-element-type="in_out_t"> <description>Input tensor</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> <argument category="attribute" name="axis" type="tensor_t" shape="-" tensor-element-type="int32_t"> <description>Axis to reduce, in range from 0 to rank(shape1)-1</description> @@ -1769,7 +1769,7 @@ </argument> <argument category="output" name="output" type="tensor_t" shape="shape" tensor-element-type="in_out_t"> <description>Output tensor. Same rank as the input tensor.</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> </arguments> <types> @@ -1796,7 +1796,7 @@ <arguments> <argument category="input" name="input" type="tensor_t" shape="shape1" tensor-element-type="in_out_t"> <description>Input tensor</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> <argument category="attribute" name="axis" type="tensor_t" shape="-" tensor-element-type="int32_t"> <description>Axis to reduce, in range from 0 to rank(shape1)-1</description> @@ -1804,7 +1804,7 @@ </argument> <argument category="output" name="output" type="tensor_t" shape="shape" tensor-element-type="in_out_t"> <description>Output tensor. Same rank as the input tensor.</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> </arguments> <types> @@ -1828,7 +1828,7 @@ <arguments> <argument category="input" name="input" type="tensor_t" shape="shape1" tensor-element-type="in_out_t"> <description>Input tensor with rank from 1 to 4</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> <argument category="attribute" name="axis" type="tensor_t" shape="-" tensor-element-type="int32_t"> <description>Axis to reduce, in range from 0 to rank(shape1)-1</description> @@ -1836,7 +1836,7 @@ </argument> <argument category="output" name="output" type="tensor_t" shape="shape" tensor-element-type="in_out_t"> <description>Output tensor. Same rank as the input tensor.</description> - <rank min="1" max="4"/> + <rank min="1" max="MAX_RANK"/> </argument> </arguments> <types> |