diff options
author | Eric Kunze <eric.kunze@arm.com> | 2020-11-04 08:20:09 -0800 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2020-11-05 10:47:42 -0800 |
commit | d77db2a476454eb549512a7097813cb4a5b352b1 (patch) | |
tree | 11e3dc5f94c284cb6b22dbc825701eb2ce0d13b6 /chapters/reduction.adoc | |
parent | 57e79c0cf2b37d37c4895ee08fd7c2534ae44cad (diff) | |
download | specification-d77db2a476454eb549512a7097813cb4a5b352b1.tar.gz |
Clean input argument rank limitations
Comparison ops, similar to the other elementwise ops, can operate
on tensors of any rank.
For those operators with rank limitations, make them consistent and
remove "dims".
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I33eb00122cec4c6625f080f9ed640f1d874fae87
Diffstat (limited to 'chapters/reduction.adoc')
-rw-r--r-- | chapters/reduction.adoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chapters/reduction.adoc b/chapters/reduction.adoc index 0739dfd..9aaf9a1 100644 --- a/chapters/reduction.adoc +++ b/chapters/reduction.adoc @@ -18,7 +18,7 @@ Reduce a tensor along the given axis with a logical AND operation |=== |Argument|Type|Name|Shape|Description -|Input|in_t*|input|in_shape|Input tensor from 1 to 4 dims +|Input|in_t*|input|in_shape|Input tensor with rank from 1 to 4 |Attribute|int|axis|-|Axis to reduce |Output|out_t*|output|out_shape|Output tensor. Same rank as the input tensor. |=== @@ -59,7 +59,7 @@ Reduce a tensor along the given axis with a logical OR operation |=== |Argument|Type|Name|Shape|Description -|Input|in_t*|input|in_shape|Input tensor from 1 to 4 dims +|Input|in_t*|input|in_shape|Input tensor with rank from 1 to 4 |Attribute|int|axis|-|Axis to reduce |Output|out_t*|output|out_shape|Output tensor. Same rank as the input tensor. |=== @@ -100,7 +100,7 @@ Reduce a tensor along the given axis with a maximum operation |=== |Argument|Type|Name|Shape|Description -|Input|in_t*|input|in_shape|Input tensor from 1 to 4 dims +|Input|in_t*|input|in_shape|Input tensor with rank from 1 to 4 |Attribute|int|axis|-|Axis to reduce |Output|out_t*|output|out_shape|Output tensor. Same rank as the input tensor. |=== @@ -143,7 +143,7 @@ Reduce a tensor along the given axis with a minimum operation |=== |Argument|Type|Name|Shape|Description -|Input|in_t*|input|in_shape|Input tensor from 1 to 4 dims +|Input|in_t*|input|in_shape|Input tensor with rank from 1 to 4 |Attribute|int|axis|-|Axis to reduce |Output|out_t*|output|out_shape|Output tensor. Same rank as the input tensor. |=== @@ -191,7 +191,7 @@ Reduce a tensor along the given axis by computing the product of the axis. |=== |Argument|Type|Name|Shape|Description -|Input|in_t*|input|in_shape|Input tensor from 1 to 4 dims +|Input|in_t*|input|in_shape|Input tensor with rank from 1 to 4 |Attribute|int|axis|-|Axis to reduce |Output|out_t*|output|out_shape|Output tensor. Same rank as the input tensor. |=== @@ -232,7 +232,7 @@ Reduce a tensor along the given axis by computing the sum of the axis. |=== |Argument|Type|Name|Shape|Description -|Input|in_t*|input|in_shape|Input tensor from 1 to 4 dims +|Input|in_t*|input|in_shape|Input tensor with rank from 1 to 4 |Attribute|int|axis|-|Axis to reduce |Output|out_t*|output|out_shape|Output tensor. Same rank as the input tensor. |=== |