aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kelly <mike.kelly@arm.com>2019-08-07 14:55:04 +0100
committerMike Kelly <mike.kelly@arm.com>2019-08-07 14:55:04 +0100
commit28e3d9faaa22d6ac837072e159a313ca444274a2 (patch)
treea624c0436d98c27856b9a1614cc193194f924d7c
parent52dc527f422e9eb57743d624ca43e2f22e5adcc0 (diff)
downloadandroid-nn-driver-28e3d9faaa22d6ac837072e159a313ca444274a2.tar.gz
IVGCVSW-3540 Fixed PReLU Being Skipped
* PReLU layers were being skipped due to logic error. Resubmitting due to accidental reversion. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I6aeed11519d19ba7ec8b4993694e414f58799028
-rw-r--r--ConversionUtils.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ConversionUtils.hpp b/ConversionUtils.hpp
index 9471d781..32efa540 100644
--- a/ConversionUtils.hpp
+++ b/ConversionUtils.hpp
@@ -1041,7 +1041,7 @@ LayerInputHandle ConvertToLayerInputHandle(const HalOperation& operation,
data.m_Backends,
isSupported,
tensorPin.GetConstTensor().GetInfo());
- if (isSupported)
+ if (!isSupported)
{
return LayerInputHandle();
}