diff options
author | Colm Donelan <Colm.Donelan@arm.com> | 2020-02-26 15:39:23 +0000 |
---|---|---|
committer | Colm Donelan <colm.donelan@arm.com> | 2020-03-02 21:31:49 +0000 |
commit | 03fbeaf532f2575381edc2336f834973117f6e0f (patch) | |
tree | 97585ec459e4069853c16468ca82513f0d899200 /include/armnn/Types.hpp | |
parent | c9ea45adefdde2890e9aa191a5b31563a3dd35ea (diff) | |
download | armnn-03fbeaf532f2575381edc2336f834973117f6e0f.tar.gz |
IVGCVSW-4440 : Add HARD_SWISH Support to Activation in CpuRef
* Add a new Activiation type of HardSwish.
* Add CpuRef support and tests.
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I68c3840aa45b7a27d5e416a5d50fe8f99f003ce8
Diffstat (limited to 'include/armnn/Types.hpp')
-rw-r--r-- | include/armnn/Types.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/armnn/Types.hpp b/include/armnn/Types.hpp index b00a8bf986..d66a1fda90 100644 --- a/include/armnn/Types.hpp +++ b/include/armnn/Types.hpp @@ -57,13 +57,14 @@ enum class ActivationFunction TanH = 1, Linear = 2, ReLu = 3, - BoundedReLu = 4, ///< min(a, max(b, input)) + BoundedReLu = 4, ///< min(a, max(b, input)) ReLu1 & ReLu6. SoftReLu = 5, LeakyReLu = 6, Abs = 7, Sqrt = 8, Square = 9, - Elu = 10 + Elu = 10, + HardSwish = 11 }; enum class ArgMinMaxFunction |