aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/DebugLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/DebugLayer.cpp')
-rw-r--r--src/armnn/layers/DebugLayer.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/armnn/layers/DebugLayer.cpp b/src/armnn/layers/DebugLayer.cpp
index 57cf3b7cfd..8342c530b2 100644
--- a/src/armnn/layers/DebugLayer.cpp
+++ b/src/armnn/layers/DebugLayer.cpp
@@ -8,7 +8,6 @@
#include <armnn/backends/WorkloadData.hpp>
#include <armnn/backends/WorkloadFactory.hpp>
-#include <armnn/utility/IgnoreUnused.hpp>
namespace armnn
{
@@ -54,9 +53,7 @@ void DebugLayer::ValidateTensorShapesFromInputs()
void DebugLayer::ExecuteStrategy(IStrategy& strategy) const
{
- // by design debug layers are never in input graphs
- IgnoreUnused(strategy);
- throw armnn::Exception("DebugLayer should never appear in an input graph");
+ strategy.ExecuteStrategy(this, GetParameters(), {}, GetName());
}
} // namespace armnn