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;