aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/NEON/functions/NEReshapeLayer.h
diff options
context:
space:
mode:
authorGiuseppe Rossini <giuseppe.rossini@arm.com>2018-08-23 11:29:59 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit6a90b69d2e0a2d3be8c88d65aa4ee228605344da (patch)
treefc9f461e032581e49f1ca967c2641914f5a882c0 /arm_compute/runtime/NEON/functions/NEReshapeLayer.h
parentd8b8be2abb964f4b17b826983b689d7dfe69d0f8 (diff)
downloadComputeLibrary-6a90b69d2e0a2d3be8c88d65aa4ee228605344da.tar.gz
[COMPMID-1301] Add validate() method to NEReshapeLayer
Change-Id: Idc3b15f2421858bbf726cd9da82487ff2e1f2910 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/145335 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEReshapeLayer.h')
-rw-r--r--arm_compute/runtime/NEON/functions/NEReshapeLayer.h9
1 files changed, 9 insertions, 0 deletions
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__ */