From 84797636b0ad44c16838df4177cf5a05aa929781 Mon Sep 17 00:00:00 2001 From: Giuseppe Rossini Date: Wed, 22 Aug 2018 12:07:48 +0100 Subject: [COMPMID-1483] Add validate method to CLReshapeLayer Change-Id: I33079e07acad83e0740c87b06546cc0f0f51301c Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/145164 Reviewed-by: Georgios Pinitas Tested-by: Jenkins --- arm_compute/runtime/CL/functions/CLReshapeLayer.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'arm_compute/runtime/CL') diff --git a/arm_compute/runtime/CL/functions/CLReshapeLayer.h b/arm_compute/runtime/CL/functions/CLReshapeLayer.h index cf5f7e5e15..82daa236c1 100644 --- a/arm_compute/runtime/CL/functions/CLReshapeLayer.h +++ b/arm_compute/runtime/CL/functions/CLReshapeLayer.h @@ -40,6 +40,15 @@ public: * @param[out] output Output tensor. Data type supported: Same as @p input */ void configure(const ICLTensor *input, ICLTensor *output); + + /** Static function to check if given info will lead to a valid configuration of @ref CLReshapeLayer + * + * @param[in] input First tensor info. Data type supported: U8/S8/QASYMM8/U16/S16/U32/S32/F16/F32 + * @param[in] output Output tensor info. Data type supported: Same as @p input + * + * @return a status + */ + static Status validate(const ITensorInfo *input, const ITensorInfo *output); }; } #endif /*__ARM_COMPUTE_CLRESHAPELAYER_H__ */ -- cgit v1.2.1