diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-03-21 20:10:53 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | 287051663030ccd945accdcd90905fb48bf30948 (patch) | |
tree | e6dd34bb262c2e748ef93407d3df13bcebe007af /arm_compute/graph2/backends/NEON/NENodeValidator.h | |
parent | 99ef8407cd5b27fdec6f8dfaf8b55f820b6dea71 (diff) | |
download | ComputeLibrary-287051663030ccd945accdcd90905fb48bf30948.tar.gz |
COMPMID-1007: Add initial validate support to backend
Change-Id: I55eae35f35a3c7891e8d535907c861f022e43bea
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/125470
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'arm_compute/graph2/backends/NEON/NENodeValidator.h')
-rw-r--r-- | arm_compute/graph2/backends/NEON/NENodeValidator.h | 17 |
1 files changed, 15 insertions, 2 deletions
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 |