diff options
author | Usama Arif <usama.arif@arm.com> | 2019-05-13 16:26:29 +0100 |
---|---|---|
committer | Usama Arif <usama.arif@arm.com> | 2019-05-14 16:17:37 +0000 |
commit | c255aa7df3e61a73cc4af86d21d3b1848653b7a9 (patch) | |
tree | 98f4b899c8be56f38b13eaf11f636bc92173719d /src/runtime | |
parent | 4b5c588ed5bbf635bfb4d20b662db417caa4558f (diff) | |
download | ComputeLibrary-c255aa7df3e61a73cc4af86d21d3b1848653b7a9.tar.gz |
COMPMID-2263: Implement NELogLayer
Change-Id: Ie2ae8f7a0b1803dae42873201cb643c71b26129f
Signed-off-by: Usama Arif <usama.arif@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1122
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/NEON/functions/NEElementwiseUnaryLayer.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/runtime/NEON/functions/NEElementwiseUnaryLayer.cpp b/src/runtime/NEON/functions/NEElementwiseUnaryLayer.cpp index 48f4975b1a..d0117d0131 100644 --- a/src/runtime/NEON/functions/NEElementwiseUnaryLayer.cpp +++ b/src/runtime/NEON/functions/NEElementwiseUnaryLayer.cpp @@ -63,4 +63,15 @@ Status NENegLayer::validate(const ITensorInfo *input, const ITensorInfo *output) return NEElementwiseUnaryKernel::validate(ElementWiseUnary::NEG, input, output); } +void NELogLayer::configure(const ITensor *input, ITensor *output) +{ + auto k = arm_compute::support::cpp14::make_unique<NEElementwiseUnaryKernel>(); + k->configure(ElementWiseUnary::LOG, input, output); + _kernel = std::move(k); +} +Status NELogLayer::validate(const ITensorInfo *input, const ITensorInfo *output) +{ + return NEElementwiseUnaryKernel::validate(ElementWiseUnary::LOG, input, output); +} + } // namespace arm_compute |