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/activation_funcs.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/activation_funcs.adoc')
-rw-r--r-- | chapters/activation_funcs.adoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chapters/activation_funcs.adoc b/chapters/activation_funcs.adoc index 05a693b..f699f90 100644 --- a/chapters/activation_funcs.adoc +++ b/chapters/activation_funcs.adoc @@ -18,7 +18,7 @@ Clamp to an arbitrary minimum and maximum value. Note that the maximum and minim |=== |Argument|Type|Name|Shape|Description -|Input|in_t*|Input|shape|Input tensor from 1 to 4 dims +|Input|in_t*|Input|shape|Input tensor with rank from 1 to 4 |Attribute|in_t|min_val|-|minimum clip value |Attribute|in_t|max_val|-|maximum clip value |Output|out_t*|Output|shape|Output tensor of same type and shape as input @@ -53,7 +53,7 @@ ReLU with a scalar maximum value. |=== |Argument|Type|Name|Shape|Description -|Input|in_t*|Input|shape|Input tensor +|Input|in_t*|Input|shape|Input tensor with rank from 1 to 4 |Attribute|in_t|max_val|-|maximum clip value |Output|out_t*|Output|shape|Output tensor of same type and shape as input |=== @@ -103,7 +103,7 @@ generate_lookup_table(&sigmoid_table, &sigmoid_reference); |=== |Argument|Type|Name|Shape|Description -|Input|in_t*|Input|shape|Input tensor from 1 to 4 dims +|Input|in_t*|Input|shape|Input tensor with rank from 1 to 4 |Output|out_t*|Output|shape|Output tensor of same type and shape as input |=== @@ -142,7 +142,7 @@ generate_lookup_table(&tanh_table, &tanh_reference); |Argument|Type|Name|Shape|Description -|Input|in_t*|Input|shape|Input tensor from 1 to 4 dims +|Input|in_t*|Input|shape|Input tensor with rank from 1 to 4 |Output|out_t*|Output|shape|Output tensor of same type and shape as input |=== |