From c47f05083390874ed78c7eee04e5689af8a129e4 Mon Sep 17 00:00:00 2001 From: Orlaith Monahan Date: Thu, 22 Aug 2024 14:13:54 +0000 Subject: [PATCH] Revert "IVGCVSW-8503: DTS Fixing UnpackOp Acc backends" This reverts commit d20f21846279fdf720f78a12362278d1305f60f7. Reason for revert: Reverting due to the following failing ExecuteNetwork test: https://cvbuilder.ml.arm.com/job/ArmNN/job/ExecuteNetworkTests_V2/job/TfLite_Rdn_fp32/1619/ Change-Id: Ic37a89cbc5a67252afc72fb65168dbaa1aac123d Signed-off-by: Orlaith Monahan --- src/backends/cl/ClLayerSupport.cpp | 8 +------- src/backends/cl/workloads/ClSplitterWorkload.cpp | 6 ------ src/backends/neon/NeonLayerSupport.cpp | 8 +------- src/backends/neon/workloads/NeonSplitterWorkload.cpp | 6 ------ 4 files changed, 2 insertions(+), 26 deletions(-) diff --git a/src/backends/cl/ClLayerSupport.cpp b/src/backends/cl/ClLayerSupport.cpp index d25a95a76..030b4c2d0 100644 --- a/src/backends/cl/ClLayerSupport.cpp +++ b/src/backends/cl/ClLayerSupport.cpp @@ -1527,13 +1527,7 @@ bool ClLayerSupport::IsSplitterSupported(const TensorInfo& input, *splitAxis.begin()); } #endif - // Check if descriptor within supported dimension bounds - if(descriptor.GetNumDimensions() > 4) - { - SetValueChecked(reasonIfUnsupported, "Cl Splitter: More than 4 dimensions unsupported."); - return false; - } - // Check output types and quantization parameters + IgnoreUnused(descriptor); for (auto output : outputs) { if (!input.IsTypeSpaceMatch(output)) // Cannot use sub-tensors if the types are not same space diff --git a/src/backends/cl/workloads/ClSplitterWorkload.cpp b/src/backends/cl/workloads/ClSplitterWorkload.cpp index d2599bd11..074ce5db7 100644 --- a/src/backends/cl/workloads/ClSplitterWorkload.cpp +++ b/src/backends/cl/workloads/ClSplitterWorkload.cpp @@ -35,12 +35,6 @@ arm_compute::Status ClSplitterWorkloadValidate(const TensorInfo& input, { const arm_compute::TensorInfo aclInputInfo = BuildArmComputeTensorInfo(input); - // Check if input tensor dimensions within supported bounds - if(input.GetNumDimensions() > 4) - { - return arm_compute::Status{arm_compute::ErrorCode::RUNTIME_ERROR, "Unsupported number of dimensions"}; - } - size_t numOutputs = outputs.size(); std::vector aclOutputs; diff --git a/src/backends/neon/NeonLayerSupport.cpp b/src/backends/neon/NeonLayerSupport.cpp index cc96fe914..b6db52342 100644 --- a/src/backends/neon/NeonLayerSupport.cpp +++ b/src/backends/neon/NeonLayerSupport.cpp @@ -1612,13 +1612,7 @@ bool NeonLayerSupport::IsSplitterSupported(const TensorInfo& input, *splitAxis.begin()); } #endif - // Check if descriptor within supported dimension bounds - if(descriptor.GetNumDimensions() > 4) - { - SetValueChecked(reasonIfUnsupported, "Neon Splitter: More than 4 dimensions unsupported."); - return false; - } - // Check output types and quantization parameters + IgnoreUnused(descriptor); for (auto output : outputs) { if (!input.IsTypeSpaceMatch(output)) // Cannot use sub-tensors if the types are not same space diff --git a/src/backends/neon/workloads/NeonSplitterWorkload.cpp b/src/backends/neon/workloads/NeonSplitterWorkload.cpp index 7b15a8960..bfde49764 100644 --- a/src/backends/neon/workloads/NeonSplitterWorkload.cpp +++ b/src/backends/neon/workloads/NeonSplitterWorkload.cpp @@ -36,12 +36,6 @@ arm_compute::Status NeonSplitterWorkloadValidate(const TensorInfo& input, { const arm_compute::TensorInfo aclInputInfo = BuildArmComputeTensorInfo(input); - // Check if input tensor dimensions within supported bounds - if(input.GetNumDimensions() > 4) - { - return arm_compute::Status{arm_compute::ErrorCode::RUNTIME_ERROR, "Unsupported number of dimensions"}; - } - size_t numOutputs = outputs.size(); std::vector aclOutputs;