diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2021-05-31 18:47:33 +0100 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2021-06-16 14:26:12 +0000 |
commit | 50de4fa4e7e0dd02a442ba350a1b40f293cb5a01 (patch) | |
tree | b37e0ae81033a1cb70911750affe2961682dd62d /src/backends/reference/workloads/ElementwiseFunction.cpp | |
parent | 2ef580100c8de1bf8acea854607ac1e552e9703f (diff) | |
download | armnn-50de4fa4e7e0dd02a442ba350a1b40f293cb5a01.tar.gz |
IVGCVSW-6088 Add Sin and Log to ElementWiseUnary
* Ref workload
* Cl workload
* Neon workload
* Serializer
* Deserializer
* Remove boost include from TensorTest.cpp
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I498548169cc77609c55cf3105f1de5a7429772cf
Diffstat (limited to 'src/backends/reference/workloads/ElementwiseFunction.cpp')
-rw-r--r-- | src/backends/reference/workloads/ElementwiseFunction.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backends/reference/workloads/ElementwiseFunction.cpp b/src/backends/reference/workloads/ElementwiseFunction.cpp index d6f3f42478..82bcf99287 100644 --- a/src/backends/reference/workloads/ElementwiseFunction.cpp +++ b/src/backends/reference/workloads/ElementwiseFunction.cpp @@ -1,5 +1,5 @@ // -// Copyright © 2017 Arm Ltd. All rights reserved. +// Copyright © 2017 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -10,7 +10,9 @@ #include "Maximum.hpp" #include "Abs.hpp" #include "Exp.hpp" +#include "Log.hpp" #include "Rsqrt.hpp" +#include "Sin.hpp" #include "Sqrt.hpp" @@ -84,8 +86,10 @@ template struct armnn::ElementwiseBinaryFunction<std::not_equal_to<float>>; // Unary template struct armnn::ElementwiseUnaryFunction<armnn::abs<float>>; template struct armnn::ElementwiseUnaryFunction<armnn::exp<float>>; +template struct armnn::ElementwiseUnaryFunction<armnn::log<float>>; template struct armnn::ElementwiseUnaryFunction<std::negate<float>>; template struct armnn::ElementwiseUnaryFunction<armnn::rsqrt<float>>; +template struct armnn::ElementwiseUnaryFunction<armnn::sin<float>>; template struct armnn::ElementwiseUnaryFunction<armnn::sqrt<float>>; // Logical Unary |