aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Virginas-Tar <Aron.Virginas-Tar@arm.com>2019-06-14 17:00:09 +0100
committerÁron Virginás-Tar <aron.virginas-tar@arm.com>2019-06-17 10:06:05 +0000
commitaece4edd329a1d6a66472cb314c49b20dc243183 (patch)
tree2973885494192fa003f9118b2de2f4125bab5686
parent719d2a94dff9966d70691cff4c97a635e6fe5f5e (diff)
downloadarmnn-aece4edd329a1d6a66472cb314c49b20dc243183.tar.gz
IVGCVSW-3285 Remove out of date check from RefLayerSupport::IsDilatedDepthwiseConvolutionSupported
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Ie8d0247a65774e4e9717501439014dd0e973f9f3
-rw-r--r--src/backends/reference/RefLayerSupport.cpp16
1 files 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<TensorInfo>& biases,
Optional<std::string&> 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<std::string&> reasonIfUnsupported) const