diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-08-21 17:06:54 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-08-22 10:29:33 +0000 |
commit | cd60a5f7cbb4b194744bf39d62af1e429b82eb59 (patch) | |
tree | 401cd8f95ac781bb7399a1e0ffa1746871d745c4 /examples/graph_inception_v4.cpp | |
parent | ec8cce82e1c2cdf07ea07a6ffb3a02470d3ab47f (diff) | |
download | ComputeLibrary-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_v4.cpp')
-rw-r--r-- | examples/graph_inception_v4.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/graph_inception_v4.cpp b/examples/graph_inception_v4.cpp index a7f57ecdce..bac85eef15 100644 --- a/examples/graph_inception_v4.cpp +++ b/examples/graph_inception_v4.cpp @@ -43,6 +43,7 @@ public: { // Parse arguments cmd_parser.parse(argc, argv); + cmd_parser.validate(); // Consume common parameters common_params = consume_common_graph_parameters(common_opts); |