aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers
diff options
context:
space:
mode:
authorKeith Davis <keith.davis@arm.com>2022-09-28 17:13:20 +0100
committerColm Donelan <colm.donelan@arm.com>2022-10-04 09:02:08 +0000
commit71ebf5f0b94cbe5ac3abcc6e8de8ce10753eba99 (patch)
treee57f6c4445edf5a7c24ce839491c0d4b30d3eed5 /src/armnn/layers
parentcddfc28cc65386541b92dfa4a16321a276dba99d (diff)
downloadarmnn-71ebf5f0b94cbe5ac3abcc6e8de8ce10753eba99.tar.gz
MLCE-545 INT8 TFLite model execution abnormal
* Fix for Debug mode in ExNet does not work with ConstTensorsAsInputs * Remove unnecessary assertion with ambiguous message in LoadedNetwork Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I9cd5d1f811dbbc89072d1190c510bf1b22e3069c
Diffstat (limited to 'src/armnn/layers')
-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