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/core/NEON/kernels/NEReshapeLayerKernel.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'arm_compute/core/NEON/kernels/NEReshapeLayerKernel.h') diff --git a/arm_compute/core/NEON/kernels/NEReshapeLayerKernel.h b/arm_compute/core/NEON/kernels/NEReshapeLayerKernel.h index 08b4e11189..1c6c780207 100644 --- a/arm_compute/core/NEON/kernels/NEReshapeLayerKernel.h +++ b/arm_compute/core/NEON/kernels/NEReshapeLayerKernel.h @@ -45,6 +45,15 @@ public: */ void configure(const ITensor *input, ITensor *output); + /** Static function to check if given info will lead to a valid configuration of @ref NEReshapeLayerKernel + * + * @param[in] input Source tensor info. Data type supported: U8/S8/U16/S16/QASYMM8/U32/S32/F16/F32 + * @param[in] output Destination tensor info. Data type supported: Same as @p input + * + * @return a status + */ + static Status validate(const ITensorInfo *input, const ITensorInfo *output); + // Inherited methods overridden: void run(const Window &window, const ThreadInfo &info) override; }; -- cgit v1.2.1