diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2017-09-15 16:30:50 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 658039bc4e06be34272eccf559a516a6b52f75f5 (patch) | |
tree | 7ab17a9cb5dad7b18f7e3a67b731f2c462b1ac24 /arm_compute/runtime/NEON/functions/NENormalizationLayer.h | |
parent | 9e40cf7c21ed0136150101d6c930417d475ecff1 (diff) | |
download | ComputeLibrary-658039bc4e06be34272eccf559a516a6b52f75f5.tar.gz |
COMPMID-534: Add MemoryManager support in NEON functions
Adds support for:
-NECannyEdge
-NEConvolution
-NEDirectConvolution
-NEGEMM
-NEGEMMLowp
-NEGaussian5x5
-NEHOGDescriptor
-NEHOGGradient
-NEL2Normalize
-NELocallyConnectedLayer
-NENormalizationLayer
-NEScale
-NESobel5x5
-NESobel7x7
Change-Id: I68e05aa6054372fa873a882633a15fb97882c00d
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87926
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NENormalizationLayer.h')
-rw-r--r-- | arm_compute/runtime/NEON/functions/NENormalizationLayer.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arm_compute/runtime/NEON/functions/NENormalizationLayer.h b/arm_compute/runtime/NEON/functions/NENormalizationLayer.h index 4cfea226f3..1c95c5bc4a 100644 --- a/arm_compute/runtime/NEON/functions/NENormalizationLayer.h +++ b/arm_compute/runtime/NEON/functions/NENormalizationLayer.h @@ -29,9 +29,12 @@ #include "arm_compute/core/NEON/kernels/NEFillBorderKernel.h" #include "arm_compute/core/NEON/kernels/NENormalizationLayerKernel.h" #include "arm_compute/core/NEON/kernels/NEPixelWiseMultiplicationKernel.h" +#include "arm_compute/core/Types.h" +#include "arm_compute/runtime/IMemoryManager.h" +#include "arm_compute/runtime/MemoryGroup.h" #include "arm_compute/runtime/Tensor.h" -#include "arm_compute/core/Types.h" +#include <memory> namespace arm_compute { @@ -48,7 +51,7 @@ class NENormalizationLayer : public IFunction { public: /** Default constructor */ - NENormalizationLayer(); + NENormalizationLayer(std::shared_ptr<IMemoryManager> memory_manager = nullptr); /** Set the input and output tensors. * * @param[in] input Source tensor. 3 lower dims represent a single input with dimensions [width, height, IFM], @@ -62,6 +65,7 @@ public: void run() override; private: + MemoryGroup _memory_group; /**< Function memory group */ NENormalizationLayerKernel _norm_kernel; /**< Normalization layer kernel */ NEPixelWiseMultiplicationKernel _multiply_kernel; /**< Pixel multiplication kernel */ NEFillBorderKernel _border_handler; /**< Kernel to handle borders */ |