From 81e671ef4f2a8fb3128fba402610b9de28b57891 Mon Sep 17 00:00:00 2001 From: Usama Arif Date: Mon, 13 May 2019 13:33:14 +0100 Subject: COMPMID-2269: Implement POW operator for NEON Change-Id: I7135f665d89da3c24c9bbe00e991a64713a41d0e Signed-off-by: Usama Arif Reviewed-on: https://review.mlplatform.org/c/1128 Reviewed-by: Michalis Spyrou Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- src/runtime/NEON/functions/NEElementwiseOperators.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/runtime/NEON/functions/NEElementwiseOperators.cpp') diff --git a/src/runtime/NEON/functions/NEElementwiseOperators.cpp b/src/runtime/NEON/functions/NEElementwiseOperators.cpp index 74c195764b..699363111d 100644 --- a/src/runtime/NEON/functions/NEElementwiseOperators.cpp +++ b/src/runtime/NEON/functions/NEElementwiseOperators.cpp @@ -79,6 +79,18 @@ Status NEElementwiseDivision::validate(const ITensorInfo *input1, const ITensorI return NEDivisionOperationKernel::validate(input1, input2, output); } +void NEElementwisePower::configure(ITensor *input1, ITensor *input2, ITensor *output) +{ + auto k = arm_compute::support::cpp14::make_unique(); + k->configure(input1, input2, output); + _kernel = std::move(k); +} + +Status NEElementwisePower::validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output) +{ + return NEPowerOperationKernel::validate(input1, input2, output); +} + template void NEElementwiseComparisonStatic::configure(ITensor *input1, ITensor *input2, ITensor *output) { -- cgit v1.2.1