From 10c53f1ef317095ddcd9143bf759cc68ecb0e721 Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Wed, 17 Jul 2019 16:11:53 +0100 Subject: COMPMID-2307: QUANTIZED_16BIT_LSTM operator for CL Change-Id: I1b52df359f1a368d585fac43a08496544dd2f86f Signed-off-by: Manuel Bottini Reviewed-on: https://review.mlplatform.org/c/1568 Tested-by: Arm Jenkins Reviewed-by: Giuseppe Rossini Comments-Addressed: Arm Jenkins --- arm_compute/runtime/CL/functions/CLConcatenateLayer.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'arm_compute/runtime/CL/functions/CLConcatenateLayer.h') diff --git a/arm_compute/runtime/CL/functions/CLConcatenateLayer.h b/arm_compute/runtime/CL/functions/CLConcatenateLayer.h index b69930c7d3..fb9724d167 100644 --- a/arm_compute/runtime/CL/functions/CLConcatenateLayer.h +++ b/arm_compute/runtime/CL/functions/CLConcatenateLayer.h @@ -60,7 +60,8 @@ public: * @param[out] output Output tensor. Data types supported: Same as @p input. * @param[in] axis Concatenation axis. Supported underlying concatenation axis are 0, 1, 2 and 3. */ - void configure(const std::vector &inputs_vector, ICLTensor *output, size_t axis); + void configure(std::vector &inputs_vector, ICLTensor *output, size_t axis); + void configure(std::vector &inputs_vector, ICLTensor *output, size_t axis); /** Static function to check if given info will lead to a valid configuration of @ref CLConcatenateLayer * * @note Input and output tensor dimensions preconditions defer depending on the concatenation axis. @@ -73,11 +74,18 @@ public: * @return a status */ static Status validate(const std::vector &inputs_vector, const ITensorInfo *output, size_t axis); + static Status validate(const std::vector &inputs_vector, const ITensorInfo *output, size_t axis); // Inherited methods overridden: void run() override; private: + template + void configure_internal(std::vector &&inputs_vector, ICLTensor *output, size_t axis); + + template + static Status validate_internal(const std::vector &inputs_vector, const ITensorInfo *output, size_t axis); + std::vector> _concat_kernels; unsigned int _num_inputs; unsigned int _axis; -- cgit v1.2.1