aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kelly <mike.kelly@arm.com>2019-07-29 15:53:51 +0100
committerÁron Virginás-Tar <aron.virginas-tar@arm.com>2019-07-29 15:47:50 +0000
commite5604e6dd73866710bac51f6c005a1eaa2be5326 (patch)
tree546d2f29559d7a484db7096cf29d0bd9f25fdea4
parentb2397fd9d68f12792b04dd90ae72dfb8cb9f4a60 (diff)
downloadandroid-nn-driver-e5604e6dd73866710bac51f6c005a1eaa2be5326.tar.gz
IVGCVSW-3540 Fixed PReLU Being Skipped
* PReLU layers were being skipped due to logic error. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ic0ec707da784b44d72958dee02901b0173b25e5c
-rw-r--r--ConversionUtils.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ConversionUtils.hpp b/ConversionUtils.hpp
index 759514d6..0c00a16f 100644
--- a/ConversionUtils.hpp
+++ b/ConversionUtils.hpp
@@ -1035,7 +1035,7 @@ LayerInputHandle ConvertToLayerInputHandle(const HalOperation& operation,
data.m_Backends,
isSupported,
tensorPin.GetConstTensor().GetInfo());
- if (isSupported)
+ if (!isSupported)
{
return LayerInputHandle();
}