diff options
Diffstat (limited to 'src/backends/reference/RefLayerSupport.cpp')
-rw-r--r-- | src/backends/reference/RefLayerSupport.cpp | 16 |
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 |