aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSang-Hoon Park <sang-hoon.park@arm.com>2019-11-01 18:50:08 +0000
committerSang-Hoon Park <sang-hoon.park@arm.com>2019-11-06 08:59:54 +0000
commit0fc2d7ad56b297852375b34322d0920193a21b8b (patch)
treee5eac7751d6365d75c594c2133d51eb8f8f509e1
parent7ae80a928564eba96c4fef0b91b1c50e1647fb8d (diff)
downloadComputeLibrary-0fc2d7ad56b297852375b34322d0920193a21b8b.tar.gz
COMPMID-2862: remove forward declaration of ReductionOperation
For simpler client code development using ArgMinMax, the forward declaraion of the class is removed and the required header file is included. Change-Id: I4e7671cb9c9db7fb31c228c6a986bd45ed726478 Signed-off-by: Sang-Hoon Park <sang-hoon.park@arm.com> Reviewed-on: https://review.mlplatform.org/c/2214 Reviewed-by: Manuel Bottini <manuel.bottini@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r--arm_compute/runtime/NEON/functions/NEArgMinMaxLayer.h3
-rw-r--r--src/runtime/NEON/functions/NEArgMinMaxLayer.cpp1
2 files changed, 2 insertions, 2 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEArgMinMaxLayer.h b/arm_compute/runtime/NEON/functions/NEArgMinMaxLayer.h
index b0e2d783b..d2ddff266 100644
--- a/arm_compute/runtime/NEON/functions/NEArgMinMaxLayer.h
+++ b/arm_compute/runtime/NEON/functions/NEArgMinMaxLayer.h
@@ -24,6 +24,8 @@
#ifndef __ARM_COMPUTE_NEARGMINMAXLAYER_H__
#define __ARM_COMPUTE_NEARGMINMAXLAYER_H__
+#include "arm_compute/runtime/NEON/functions/NEReductionOperation.h"
+
#include "arm_compute/core/Types.h"
#include "arm_compute/runtime/MemoryGroup.h"
#include "arm_compute/runtime/NEON/INESimpleFunction.h"
@@ -31,7 +33,6 @@
namespace arm_compute
{
class ITensor;
-class NEReductionOperation;
/** Function to calculate the index of the minimum or maximum values in a
* tensor based on an axis.
diff --git a/src/runtime/NEON/functions/NEArgMinMaxLayer.cpp b/src/runtime/NEON/functions/NEArgMinMaxLayer.cpp
index ab2d6f0c1..a23061e29 100644
--- a/src/runtime/NEON/functions/NEArgMinMaxLayer.cpp
+++ b/src/runtime/NEON/functions/NEArgMinMaxLayer.cpp
@@ -23,7 +23,6 @@
*/
#include "arm_compute/runtime/NEON/functions/NEArgMinMaxLayer.h"
-#include "arm_compute/runtime/NEON/functions/NEReductionOperation.h"
#include "arm_compute/core/Error.h"
#include "arm_compute/core/ITensor.h"