diff options
author | Keith Davis <keith.davis@arm.com> | 2022-09-28 17:13:20 +0100 |
---|---|---|
committer | Colm Donelan <colm.donelan@arm.com> | 2022-10-04 09:02:08 +0000 |
commit | 71ebf5f0b94cbe5ac3abcc6e8de8ce10753eba99 (patch) | |
tree | e57f6c4445edf5a7c24ce839491c0d4b30d3eed5 /src/armnn/optimizations | |
parent | cddfc28cc65386541b92dfa4a16321a276dba99d (diff) | |
download | armnn-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/optimizations')
-rw-r--r-- | src/armnn/optimizations/RedirectMembersToConstantInputs.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/armnn/optimizations/RedirectMembersToConstantInputs.hpp b/src/armnn/optimizations/RedirectMembersToConstantInputs.hpp index 483377452e..a2bad710e6 100644 --- a/src/armnn/optimizations/RedirectMembersToConstantInputs.hpp +++ b/src/armnn/optimizations/RedirectMembersToConstantInputs.hpp @@ -63,6 +63,8 @@ private: for (unsigned int inputSlotIndex = 1; inputSlotIndex != layerPtr->GetNumInputSlots(); ++inputSlotIndex) { OutputSlot* outputSlot = layerPtr->GetInputSlot(inputSlotIndex).GetConnectedOutputSlot(); + // Debug layers should not be inserted in optimize process yet + ARMNN_ASSERT(outputSlot->GetOwningLayer().GetType() != LayerType::Debug); if (outputSlot->GetOwningLayer().GetType() == LayerType::Constant) { // Get constant layer and redirect base layer member variables. |