From 287051663030ccd945accdcd90905fb48bf30948 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Wed, 21 Mar 2018 20:10:53 +0000 Subject: COMPMID-1007: Add initial validate support to backend Change-Id: I55eae35f35a3c7891e8d535907c861f022e43bea Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/125470 Tested-by: Jenkins Reviewed-by: Gian Marco Iodice --- arm_compute/graph2/backends/NEON/NENodeValidator.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'arm_compute/graph2/backends/NEON/NENodeValidator.h') diff --git a/arm_compute/graph2/backends/NEON/NENodeValidator.h b/arm_compute/graph2/backends/NEON/NENodeValidator.h index 8e8448526a..d39ab15a27 100644 --- a/arm_compute/graph2/backends/NEON/NENodeValidator.h +++ b/arm_compute/graph2/backends/NEON/NENodeValidator.h @@ -24,15 +24,28 @@ #ifndef __ARM_COMPUTE_GRAPH2_NENODEVALIDATOR_H__ #define __ARM_COMPUTE_GRAPH2_NENODEVALIDATOR_H__ -#include "arm_compute/graph2/INodeVisitor.h" +#include "arm_compute/core/Error.h" namespace arm_compute { namespace graph2 { +// Forward declarations +class INode; + namespace backends { -// TODO (geopin01) : Add node validator +class NENodeValidator final +{ +public: + /** Validate a node + * + * @param[in] node Node to validate + * + * @return An error status + */ + static Status validate(INode *node); +}; } // namespace backends } // namespace graph2 } // namespace arm_compute -- cgit v1.2.1