diff options
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NELocallyConnectedLayer.h')
-rw-r--r-- | arm_compute/runtime/NEON/functions/NELocallyConnectedLayer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arm_compute/runtime/NEON/functions/NELocallyConnectedLayer.h b/arm_compute/runtime/NEON/functions/NELocallyConnectedLayer.h index efb2ff6c8b..18d2a1dfb5 100644 --- a/arm_compute/runtime/NEON/functions/NELocallyConnectedLayer.h +++ b/arm_compute/runtime/NEON/functions/NELocallyConnectedLayer.h @@ -31,8 +31,12 @@ #include "arm_compute/core/NEON/kernels/NELocallyConnectedMatrixMultiplyKernel.h" #include "arm_compute/core/NEON/kernels/NEWeightsReshapeKernel.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 <memory> + namespace arm_compute { class INETensor; @@ -48,7 +52,7 @@ class NELocallyConnectedLayer : public IFunction { public: /** Default constructor */ - NELocallyConnectedLayer(); + NELocallyConnectedLayer(std::shared_ptr<IMemoryManager> memory_manager = nullptr); /** Set the input and output tensors. * * @param[in] input Source tensor. 3 lower dimensions represent a single input [width, height, IFM], @@ -66,6 +70,7 @@ public: void run() override; private: + MemoryGroup _memory_group; NEIm2ColKernel _input_im2col_kernel; NEWeightsReshapeKernel _weights_reshape_kernel; NELocallyConnectedMatrixMultiplyKernel _mm_kernel; |