From 8c571692a8236be8605a753e231d240094428be5 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Fri, 5 Apr 2019 11:29:52 +0100 Subject: COMPMID-2062 Rework CL ConcatenateLayer Change-Id: I5a60cd0e822b8912132a6785057921bbf6ef8f7f Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/951 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio --- arm_compute/runtime/CL/functions/CLConcatenateLayer.h | 10 +++------- arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h | 4 +++- arm_compute/runtime/CL/functions/CLWidthConcatenateLayer.h | 4 +++- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'arm_compute') diff --git a/arm_compute/runtime/CL/functions/CLConcatenateLayer.h b/arm_compute/runtime/CL/functions/CLConcatenateLayer.h index 25a0153f51..5cf09c8ee0 100644 --- a/arm_compute/runtime/CL/functions/CLConcatenateLayer.h +++ b/arm_compute/runtime/CL/functions/CLConcatenateLayer.h @@ -77,13 +77,9 @@ public: void run() override; private: - void configure_h_concatenate(std::vector inputs_vector, ICLTensor *output); - static Status validate_h_concatenate(const std::vector &inputs_vector, const ITensorInfo *output); - - std::unique_ptr _concat_function; - std::unique_ptr _hconcat_kernels; - unsigned int _num_inputs; - unsigned int _axis; + std::vector> _concat_kernels; + unsigned int _num_inputs; + unsigned int _axis; }; } #endif /* __ARM_COMPUTE_CLCONCATENATELAYER_H__ */ diff --git a/arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h b/arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h index aef5d63654..33f751f6db 100644 --- a/arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h +++ b/arm_compute/runtime/CL/functions/CLDepthConcatenateLayer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -40,6 +40,8 @@ namespace arm_compute class ICLTensor; /** Basic function to execute concatenate tensors along z axis. This function calls the following kernels: + * + * @deprecated This function is deprecated and will be removed in release 19.08 * * -# @ref CLFillBorderKernel (executed if input's lowest two dimensions are smaller than respective output's dimensions) * -# @ref CLDepthConcatenateLayerKernel diff --git a/arm_compute/runtime/CL/functions/CLWidthConcatenateLayer.h b/arm_compute/runtime/CL/functions/CLWidthConcatenateLayer.h index 55b65dadc4..a87ec3094c 100644 --- a/arm_compute/runtime/CL/functions/CLWidthConcatenateLayer.h +++ b/arm_compute/runtime/CL/functions/CLWidthConcatenateLayer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -41,6 +41,8 @@ namespace arm_compute class ICLTensor; /** Basic function to execute concatenate tensors along x axis. This function calls the following kernel: + * + * @deprecated This function is deprecated and will be removed in release 19.08 * * -# @ref CLWidthConcatenateLayerKernel * -# @ref CLWidthConcatenate2TensorsKernel (if there are exactly 2 input tensors) -- cgit v1.2.1