COMPMID-1310: Create graph validation executables.

Change-Id: I9e0b57b1b83fe5a95777cdaeddba6ecef650bafc
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/138697
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
diff --git a/arm_compute/graph/algorithms/BFS.h b/arm_compute/graph/algorithms/BFS.h
index 36ca872..97292d7 100644
--- a/arm_compute/graph/algorithms/BFS.h
+++ b/arm_compute/graph/algorithms/BFS.h
@@ -85,7 +85,7 @@
     std::list<NodeID> queue;
 
     // Push inputs and mark as visited
-    for(auto &input : g.inputs())
+    for(auto &input : g.nodes(NodeType::Input))
     {
         if(input != EmptyNodeID)
         {