From 4164814a099773c0a512889473c980bc148e590f Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 3 Aug 2021 08:24:00 +0100 Subject: Implement Operator API Resolves: COMPMID-4512 Signed-off-by: Georgios Pinitas Change-Id: Id12130365fa3fe2261160931dcc7affb6b467186 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6031 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- arm_compute/AclDescriptors.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'arm_compute/AclDescriptors.h') diff --git a/arm_compute/AclDescriptors.h b/arm_compute/AclDescriptors.h index 7b7655e9c7..a564bd2141 100644 --- a/arm_compute/AclDescriptors.h +++ b/arm_compute/AclDescriptors.h @@ -40,7 +40,7 @@ typedef enum AclLuBoundedRelu = 6, /**< Lower and Upper Bounded Rectifier */ AclLeakyRelu = 7, /**< Leaky Rectifier */ AclSoftRelu = 8, /**< Soft Rectifier */ - AclSoftElu = 9, /**< Exponential Linear Unit */ + AclElu = 9, /**< Exponential Linear Unit */ AclAbs = 10, /**< Absolute */ AclSquare = 11, /**< Square */ AclSqrt = 12, /**< Square root */ @@ -51,9 +51,10 @@ typedef enum /**< Activation layer descriptor */ typedef struct { - AclActivationType type; /**< Activation type */ - float a; /**< Factor &alpha used by some activations */ - float b; /**< Factor &beta used by some activations */ + AclActivationType type; /**< Activation type */ + float a; /**< Factor &alpha used by some activations */ + float b; /**< Factor &beta used by some activations */ + bool inplace; /**< Hint that src and dst tensors will be the same */ } AclActivationDescriptor; #ifdef __cplusplus } -- cgit v1.2.1