From aece4edd329a1d6a66472cb314c49b20dc243183 Mon Sep 17 00:00:00 2001 From: Aron Virginas-Tar Date: Fri, 14 Jun 2019 17:00:09 +0100 Subject: IVGCVSW-3285 Remove out of date check from RefLayerSupport::IsDilatedDepthwiseConvolutionSupported Signed-off-by: Aron Virginas-Tar Change-Id: Ie8d0247a65774e4e9717501439014dd0e973f9f3 --- src/backends/reference/RefLayerSupport.cpp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/backends/reference/RefLayerSupport.cpp b/src/backends/reference/RefLayerSupport.cpp index 03c8633dce..cf1814e06a 100644 --- a/src/backends/reference/RefLayerSupport.cpp +++ b/src/backends/reference/RefLayerSupport.cpp @@ -551,22 +551,10 @@ bool RefLayerSupport::IsDilatedDepthwiseConvolutionSupported(const TensorInfo& i const Optional& biases, Optional reasonIfUnsupported) const { - if (descriptor.m_DilationY == 1 && descriptor.m_DilationY == 1) - { - return IsDepthwiseConvolutionSupported(input, output, descriptor, weights, biases, reasonIfUnsupported); - } - else - { - if (reasonIfUnsupported) - { - reasonIfUnsupported.value() = "Reference Depthwise Convolution: Dilation parameters must be 1"; - } - return false; - } + return IsDepthwiseConvolutionSupported(input, output, descriptor, weights, biases, reasonIfUnsupported); } - - bool RefLayerSupport::IsDivisionSupported(const TensorInfo& input0, +bool RefLayerSupport::IsDivisionSupported(const TensorInfo& input0, const TensorInfo& input1, const TensorInfo& output, Optional reasonIfUnsupported) const -- cgit v1.2.1