From 00e6e1e7de746a76bbe3f4eb7b5d63034c5029fb Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 29 Nov 2018 16:49:30 +0000 Subject: COMPMID-1451: Enable FP16 runs on graph examples. Change-Id: I4e3269f1dc83ce9278230b6fc70a7981d05c61f6 Reviewed-on: https://review.mlplatform.org/315 Reviewed-by: Surabhi Mehta Tested-by: Arm Jenkins --- examples/graph_googlenet.cpp | 1 - examples/graph_inception_resnet_v2.cpp | 1 - examples/graph_inception_v3.cpp | 1 - examples/graph_inception_v4.cpp | 1 - examples/graph_mobilenet_v2.cpp | 1 - examples/graph_resnet50.cpp | 1 - examples/graph_resnet_v2_50.cpp | 1 - examples/graph_resnext50.cpp | 1 - examples/graph_shufflenet.cpp | 1 - examples/graph_squeezenet.cpp | 1 - examples/graph_squeezenet_v1_1.cpp | 1 - 11 files changed, 11 deletions(-) (limited to 'examples') diff --git a/examples/graph_googlenet.cpp b/examples/graph_googlenet.cpp index 0b3ecffd86..a55c884ca2 100644 --- a/examples/graph_googlenet.cpp +++ b/examples/graph_googlenet.cpp @@ -56,7 +56,6 @@ public: // 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; diff --git a/examples/graph_inception_resnet_v2.cpp b/examples/graph_inception_resnet_v2.cpp index 5115696e65..4c74041eb3 100644 --- a/examples/graph_inception_resnet_v2.cpp +++ b/examples/graph_inception_resnet_v2.cpp @@ -62,7 +62,6 @@ public: // 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; diff --git a/examples/graph_inception_v3.cpp b/examples/graph_inception_v3.cpp index d9b7b05c9a..86b223e9e5 100644 --- a/examples/graph_inception_v3.cpp +++ b/examples/graph_inception_v3.cpp @@ -56,7 +56,6 @@ public: // 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; diff --git a/examples/graph_inception_v4.cpp b/examples/graph_inception_v4.cpp index d4854cff70..3bedc4ccea 100644 --- a/examples/graph_inception_v4.cpp +++ b/examples/graph_inception_v4.cpp @@ -56,7 +56,6 @@ public: // 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; diff --git a/examples/graph_mobilenet_v2.cpp b/examples/graph_mobilenet_v2.cpp index 2bff367b57..8c3433cac2 100644 --- a/examples/graph_mobilenet_v2.cpp +++ b/examples/graph_mobilenet_v2.cpp @@ -63,7 +63,6 @@ public: // 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; diff --git a/examples/graph_resnet50.cpp b/examples/graph_resnet50.cpp index ffdce2da4b..0a96840e3d 100644 --- a/examples/graph_resnet50.cpp +++ b/examples/graph_resnet50.cpp @@ -56,7 +56,6 @@ public: // 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; diff --git a/examples/graph_resnet_v2_50.cpp b/examples/graph_resnet_v2_50.cpp index c5c2e296f5..24cd68cb21 100644 --- a/examples/graph_resnet_v2_50.cpp +++ b/examples/graph_resnet_v2_50.cpp @@ -56,7 +56,6 @@ public: // 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; diff --git a/examples/graph_resnext50.cpp b/examples/graph_resnext50.cpp index f611535b90..8b33f90bc8 100644 --- a/examples/graph_resnext50.cpp +++ b/examples/graph_resnext50.cpp @@ -56,7 +56,6 @@ public: // 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; diff --git a/examples/graph_shufflenet.cpp b/examples/graph_shufflenet.cpp index af8d11beb9..88ee520770 100644 --- a/examples/graph_shufflenet.cpp +++ b/examples/graph_shufflenet.cpp @@ -62,7 +62,6 @@ public: // 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; diff --git a/examples/graph_squeezenet.cpp b/examples/graph_squeezenet.cpp index 17ec26e2a6..ad5fc21acd 100644 --- a/examples/graph_squeezenet.cpp +++ b/examples/graph_squeezenet.cpp @@ -56,7 +56,6 @@ public: // 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; diff --git a/examples/graph_squeezenet_v1_1.cpp b/examples/graph_squeezenet_v1_1.cpp index bfa69384c6..95c99c0770 100644 --- a/examples/graph_squeezenet_v1_1.cpp +++ b/examples/graph_squeezenet_v1_1.cpp @@ -56,7 +56,6 @@ public: // 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; -- cgit v1.2.1