From ac33d7eb7bf0db65c3663d9707e509ca91337349 Mon Sep 17 00:00:00 2001 From: Usama Arif Date: Mon, 20 May 2019 14:21:40 +0100 Subject: COMPMID-2264: Implement LOG operator for CL Change-Id: I95ca659e8884191762b5d611a424a6e8a1d88885 Signed-off-by: Usama Arif Reviewed-on: https://review.mlplatform.org/c/1189 Comments-Addressed: Arm Jenkins Reviewed-by: Pablo Marquez Reviewed-by: Georgios Pinitas Tested-by: Arm Jenkins --- src/core/CL/cl_kernels/elementwise_unary.cl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/CL/cl_kernels') diff --git a/src/core/CL/cl_kernels/elementwise_unary.cl b/src/core/CL/cl_kernels/elementwise_unary.cl index 89bffed16d..866b7ee2b0 100644 --- a/src/core/CL/cl_kernels/elementwise_unary.cl +++ b/src/core/CL/cl_kernels/elementwise_unary.cl @@ -36,6 +36,8 @@ #define sin_op(input) sin(input) // Calculate abs for floating point values #define fabs_op(input) fabs(input) +// Calculate natural_log +#define natural_log_op(input) log(input) /** Applies element wise unary operator in a tensor. * -- cgit v1.2.1