Skip to content

Commit

Permalink
Revert "IVGCVSW-8503: DTS Fixing UnpackOp Acc backends"
Browse files Browse the repository at this point in the history
This reverts commit d20f218.

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 <[email protected]>
  • Loading branch information
orlmon01 committed Aug 23, 2024
1 parent 7851fed commit c47f050
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 26 deletions.
8 changes: 1 addition & 7 deletions src/backends/cl/ClLayerSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions src/backends/cl/workloads/ClSplitterWorkload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<arm_compute::TensorInfo> aclOutputs;
Expand Down
8 changes: 1 addition & 7 deletions src/backends/neon/NeonLayerSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions src/backends/neon/workloads/NeonSplitterWorkload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<arm_compute::TensorInfo> aclOutputs;
Expand Down

0 comments on commit c47f050

Please sign in to comment.