aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/DelegateUtils.hpp
diff options
context:
space:
mode:
authorRyan OShea <ryan.oshea3@arm.com>2023-01-30 14:24:15 +0000
committerryan.oshea3 <ryan.oshea3@arm.com>2023-01-30 15:46:29 +0000
commit475c7a8796cf0cdf5d22fa9f1962f279914834f6 (patch)
tree056053d676320f00f43aee0cc0c8214cba78813f /delegate/src/DelegateUtils.hpp
parent3ad2e14333fa0ffebe373b05ce582068c4c8f5f0 (diff)
downloadarmnn-475c7a8796cf0cdf5d22fa9f1962f279914834f6.tar.gz
IVGCVSW-7475 Fix uncaught warnings treated as errors in delegate release build
* Add initialization of activation type in delegate layers with fused activations * Remove unused variable activationOutputInfo on layers with fused activations Signed-off-by: Ryan OShea <ryan.oshea3@arm.com> Change-Id: Ieb2ba00516a159639871c391069faf162cbb666d
Diffstat (limited to 'delegate/src/DelegateUtils.hpp')
-rw-r--r--delegate/src/DelegateUtils.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/delegate/src/DelegateUtils.hpp b/delegate/src/DelegateUtils.hpp
index 91447576d0..c0bef4f994 100644
--- a/delegate/src/DelegateUtils.hpp
+++ b/delegate/src/DelegateUtils.hpp
@@ -342,7 +342,7 @@ TfLiteStatus FusedActivation(TfLiteContext* tfLiteContext,
data.m_Backends,
isSupported,
setBackend,
- prevLayer->GetOutputSlot(0).GetTensorInfo(),
+ activationOutputInfo,
activationOutputInfo,
activationDesc);
if (!isSupported)