From 6a90b69d2e0a2d3be8c88d65aa4ee228605344da Mon Sep 17 00:00:00 2001 From: Giuseppe Rossini Date: Thu, 23 Aug 2018 11:29:59 +0100 Subject: [COMPMID-1301] Add validate() method to NEReshapeLayer Change-Id: Idc3b15f2421858bbf726cd9da82487ff2e1f2910 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/145335 Tested-by: Jenkins Reviewed-by: Georgios Pinitas Reviewed-by: Anthony Barbier --- arm_compute/runtime/NEON/functions/NEReshapeLayer.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'arm_compute/runtime/NEON') diff --git a/arm_compute/runtime/NEON/functions/NEReshapeLayer.h b/arm_compute/runtime/NEON/functions/NEReshapeLayer.h index a77a5f30dc..01fe3bd091 100644 --- a/arm_compute/runtime/NEON/functions/NEReshapeLayer.h +++ b/arm_compute/runtime/NEON/functions/NEReshapeLayer.h @@ -41,6 +41,15 @@ public: * @param[out] output Output tensor. Data type supported: Same as @p input */ void configure(const ITensor *input, ITensor *output); + + /** Static function to check if given info will lead to a valid configuration of @ref NEReshapeLayer + * + * @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_NERESHAPELAYER_H__ */ -- cgit v1.2.1