aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominic Symes <dominic.symes@arm.com>2021-04-01 16:14:08 +0100
committerDominic Symes <dominic.symes@arm.com>2021-04-01 16:14:27 +0100
commitee209d8d3cac5fbdc724c2f23628d597974e96e8 (patch)
tree447f23d8fe4a674652c848719e3c3a770bdb358c
parentfc3b960bb921603f6439cf2825f10c15ca4a1f4d (diff)
downloadspecification-ee209d8d3cac5fbdc724c2f23628d597974e96e8.tar.gz
Remove RELUN operation
The operation can be implemented directly with CLAMP for int8, int16 or MIN,MAX for int32. Change-Id: I872ec5ee4ee30bb69353f39be12a65307c9b8d0a Signed-off-by: Dominic Symes <dominic.symes@arm.com>
-rw-r--r--chapters/activation_funcs.adoc34
1 files changed, 0 insertions, 34 deletions
diff --git a/chapters/activation_funcs.adoc b/chapters/activation_funcs.adoc
index 5c8e36f..a27d1bf 100644
--- a/chapters/activation_funcs.adoc
+++ b/chapters/activation_funcs.adoc
@@ -44,40 +44,6 @@ for_each(index in shape) {
|MI, MT|floating-point|float_t|float_t
|===
-==== RELUN
-
-ReLU with a scalar maximum value.
-
-*Arguments:*
-
-|===
-|Argument|Type|Name|Shape|Description
-
-|Input|in_t*|Input|shape|Input tensor
-|Attribute|in_t|max_val|-|maximum clip value
-|Output|in_t*|Output|shape|Output tensor of same type and shape as input
-|===
-
-*Operation Function:*
-
-[source,c++]
-----
-for_each(index in shape) {
- in_t value = tensor_read<in_t>(input, shape, index);
- value = apply_clip<in_t>(value, 0, max_val);
- tensor_write<in_t>(output, shape, index, value);
-}
-----
-
-*Supported Data Types:*
-
-|===
-|Profile|Mode|in_t
-
-|Any|signed 32|int32_t
-|MI, MT|floating-point|float_t
-|===
-
==== SIGMOID
Sigmoid function: output = 1 / (1 + exp(-input))