diff options
Diffstat (limited to 'src/runtime/NEON/functions/NEElementwiseUnaryLayer.cpp')
-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 d0117d0131..231b8aa445 100644 --- a/src/runtime/NEON/functions/NEElementwiseUnaryLayer.cpp +++ b/src/runtime/NEON/functions/NEElementwiseUnaryLayer.cpp @@ -74,4 +74,15 @@ Status NELogLayer::validate(const ITensorInfo *input, const ITensorInfo *output) return NEElementwiseUnaryKernel::validate(ElementWiseUnary::LOG, input, output); } +void NEAbsLayer::configure(const ITensor *input, ITensor *output) +{ + auto k = arm_compute::support::cpp14::make_unique<NEElementwiseUnaryKernel>(); + k->configure(ElementWiseUnary::ABS, input, output); + _kernel = std::move(k); +} +Status NEAbsLayer::validate(const ITensorInfo *input, const ITensorInfo *output) +{ + return NEElementwiseUnaryKernel::validate(ElementWiseUnary::ABS, input, output); +} + } // namespace arm_compute |