aboutsummaryrefslogtreecommitdiff
path: root/examples/graph_inception_resnet_v1.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-08-21 17:06:54 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-08-22 10:29:33 +0000
commitcd60a5f7cbb4b194744bf39d62af1e429b82eb59 (patch)
tree401cd8f95ac781bb7399a1e0ffa1746871d745c4 /examples/graph_inception_resnet_v1.cpp
parentec8cce82e1c2cdf07ea07a6ffb3a02470d3ab47f (diff)
downloadComputeLibrary-cd60a5f7cbb4b194744bf39d62af1e429b82eb59.tar.gz
COMPMID-2594: Graph example option parsing doens't fail on invalid values
Report warning/error on invalid argument depending on its importance. Change-Id: I14a855c96d514e6b8a63a61e54410722affa06ce Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/c/1784 Reviewed-by: Kévin Petit Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'examples/graph_inception_resnet_v1.cpp')
-rw-r--r--examples/graph_inception_resnet_v1.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/graph_inception_resnet_v1.cpp b/examples/graph_inception_resnet_v1.cpp
index 64c35e1178..89e44edc33 100644
--- a/examples/graph_inception_resnet_v1.cpp
+++ b/examples/graph_inception_resnet_v1.cpp
@@ -56,6 +56,7 @@ public:
{
// Parse arguments
cmd_parser.parse(argc, argv);
+ cmd_parser.validate();
// Consume common parameters
common_params = consume_common_graph_parameters(common_opts);