diff options
author | Ryan OShea <ryan.oshea3@arm.com> | 2023-01-30 14:24:15 +0000 |
---|---|---|
committer | ryan.oshea3 <ryan.oshea3@arm.com> | 2023-01-30 15:46:29 +0000 |
commit | 475c7a8796cf0cdf5d22fa9f1962f279914834f6 (patch) | |
tree | 056053d676320f00f43aee0cc0c8214cba78813f /delegate/src/DelegateUtils.hpp | |
parent | 3ad2e14333fa0ffebe373b05ce582068c4c8f5f0 (diff) | |
download | armnn-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.hpp | 2 |
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) |