diff options
Diffstat (limited to 'examples/graph_mobilenet_v2.cpp')
-rw-r--r-- | examples/graph_mobilenet_v2.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/graph_mobilenet_v2.cpp b/examples/graph_mobilenet_v2.cpp index 63dcba6950..9ea2ec0c5b 100644 --- a/examples/graph_mobilenet_v2.cpp +++ b/examples/graph_mobilenet_v2.cpp @@ -61,6 +61,10 @@ public: return false; } + // Checks + ARM_COMPUTE_EXIT_ON_MSG(arm_compute::is_data_type_quantized_asymmetric(common_params.data_type), "QASYMM8 not supported for this graph"); + ARM_COMPUTE_EXIT_ON_MSG(common_params.data_type == DataType::F16 && common_params.target == Target::NEON, "F16 NEON not supported for this graph"); + // Print parameter values std::cout << common_params << std::endl; |