From 03eff13df185345f2b6648a223230d2861410817 Mon Sep 17 00:00:00 2001 From: Mike Kelly Date: Fri, 10 Jan 2020 17:29:51 +0000 Subject: IVGCVSW-4241 Reenabling support for NCHW. * Reenabling support for NCHW for Convolution, Pooling and Resize. Signed-off-by: Mike Kelly Change-Id: I6ceb1ab0983e19d200ba353b0017b0f0cd1628e0 --- ConversionUtils.hpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'ConversionUtils.hpp') diff --git a/ConversionUtils.hpp b/ConversionUtils.hpp index acf215d5..8dcf3524 100644 --- a/ConversionUtils.hpp +++ b/ConversionUtils.hpp @@ -1430,11 +1430,6 @@ bool ConvertPooling2d(const HalOperation& operation, if (Is12Operand(*output)) { desc.m_DataLayout = OptionalDataLayout(operation, 10, model, data); - - if (desc.m_DataLayout == armnn::DataLayout::NCHW) - { - return Fail("%s: Operation has invalid inputs NCHW is not supported", operationName); - } } } else @@ -1454,11 +1449,6 @@ bool ConvertPooling2d(const HalOperation& operation, if (Is12Operand(*output)) { desc.m_DataLayout = OptionalDataLayout(operation, 7, model, data); - - if (desc.m_DataLayout == armnn::DataLayout::NCHW) - { - return Fail("%s: Operation has invalid inputs NCHW is not supported", operationName); - } } const armnnUtils::DataLayoutIndexed dataLayout(desc.m_DataLayout); -- cgit v1.2.1