From 1562be3e8a449360a90af75f6f1481a30d41be75 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 8 Mar 2018 19:09:19 +0000 Subject: COMPMID-998: Release unused trainable parameters. Change-Id: I361a520f34080016a25bc86e1e6789777c5152c1 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/124432 Reviewed-by: Anthony Barbier Tested-by: Jenkins --- arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h') diff --git a/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h b/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h index dc1211a51a..91d35ca0b2 100644 --- a/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h +++ b/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h @@ -103,6 +103,14 @@ public: * @param[in] memory_manager (Optional) Memory manager. */ CLGEMMConvolutionLayer(std::shared_ptr memory_manager = nullptr); + /** Prevent instances of this class from being copied (As this class contains pointers) */ + CLGEMMConvolutionLayer(const CLGEMMConvolutionLayer &) = delete; + /** Default move constructor */ + CLGEMMConvolutionLayer(CLGEMMConvolutionLayer &&) = default; + /** Prevent instances of this class from being copied (As this class contains pointers) */ + CLGEMMConvolutionLayer &operator=(const CLGEMMConvolutionLayer &) = delete; + /** Default move assignment operator */ + CLGEMMConvolutionLayer &operator=(CLGEMMConvolutionLayer &&) = default; /** Set the input and output tensors. * * @param[in] input Source tensor. 3 lower dimensions represent a single input [width, height, IFM], @@ -172,6 +180,8 @@ private: CLGEMMLowpQuantizeDownInt32ToUint8ScaleByFixedPoint _gemmlowp_output_stage; CLCol2ImKernel _col2im_kernel; + const ICLTensor *_original_weights; + CLTensor _im2col_output; CLTensor _weights_reshaped; CLTensor _gemm_output; -- cgit v1.2.1