From 20ff84d333e73c62592cab339f4648c4b706c65f Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Thu, 18 Oct 2018 14:30:28 +0100 Subject: COMPMID-1451 - Enabled NHWC in AlexNet, InceptionV3 and InceptionV4 Enabled NHWC as default data layout in AlexNet, InceptionV3 and InceptionV4 on NEON Change-Id: I205ad7a1f5dbf482340182de4fac8f3a24ef2705 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/154141 Reviewed-by: Georgios Pinitas Tested-by: bsgcomp --- examples/graph_alexnet.cpp | 6 ------ examples/graph_inception_v3.cpp | 6 ------ examples/graph_inception_v4.cpp | 6 ------ 3 files changed, 18 deletions(-) (limited to 'examples') diff --git a/examples/graph_alexnet.cpp b/examples/graph_alexnet.cpp index 97788d8cd9..c607672e5b 100644 --- a/examples/graph_alexnet.cpp +++ b/examples/graph_alexnet.cpp @@ -54,12 +54,6 @@ public: return false; } - // Set default layout if needed - if(!common_opts.data_layout->is_set() && common_params.target == Target::NEON) - { - common_params.data_layout = DataLayout::NCHW; - } - // Checks ARM_COMPUTE_EXIT_ON_MSG(arm_compute::is_data_type_quantized_asymmetric(common_params.data_type), "QASYMM8 not supported for this graph"); diff --git a/examples/graph_inception_v3.cpp b/examples/graph_inception_v3.cpp index d51be62f9f..6a381a1749 100644 --- a/examples/graph_inception_v3.cpp +++ b/examples/graph_inception_v3.cpp @@ -54,12 +54,6 @@ public: return false; } - // Set default layout if needed - if(!common_opts.data_layout->is_set() && common_params.target == Target::NEON) - { - common_params.data_layout = DataLayout::NCHW; - } - // 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"); diff --git a/examples/graph_inception_v4.cpp b/examples/graph_inception_v4.cpp index b64f176c17..77ef54cf98 100644 --- a/examples/graph_inception_v4.cpp +++ b/examples/graph_inception_v4.cpp @@ -54,12 +54,6 @@ public: return false; } - // Set default layout if needed - if(!common_opts.data_layout->is_set() && common_params.target == Target::NEON) - { - common_params.data_layout = DataLayout::NCHW; - } - // 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"); -- cgit v1.2.1