diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-07-12 17:34:22 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | 6ed43b58e74281cbdde2219962048bc36d560a3b (patch) | |
tree | 46400b96c5cc880f8f9b62f51e2d89f8605bb8dd /examples/graph_googlenet.cpp | |
parent | 772e17f8a6683cf3f19cba15c7a1e677fe07a559 (diff) | |
download | ComputeLibrary-6ed43b58e74281cbdde2219962048bc36d560a3b.tar.gz |
COMPMID-1188: Report error on graphs that do not support NHWC
Change-Id: I14c6ded780339aa75555ea5f62247c509e64d0b0
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/139797
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'examples/graph_googlenet.cpp')
-rw-r--r-- | examples/graph_googlenet.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/graph_googlenet.cpp b/examples/graph_googlenet.cpp index e23107f081..ff7992c164 100644 --- a/examples/graph_googlenet.cpp +++ b/examples/graph_googlenet.cpp @@ -59,7 +59,8 @@ public: } // Checks - ARM_COMPUTE_ERROR_ON_MSG(arm_compute::is_data_type_quantized_asymmetric(common_params.data_type), "Unsupported data type!"); + ARM_COMPUTE_EXIT_ON_MSG(arm_compute::is_data_type_quantized_asymmetric(common_params.data_type), "Unsupported data type!"); + ARM_COMPUTE_EXIT_ON_MSG(common_params.data_layout == DataLayout::NHWC, "Unsupported data layout!"); // Print parameter values std::cout << common_params << std::endl; |