diff options
author | Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> | 2019-08-13 17:41:01 +0100 |
---|---|---|
committer | Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> | 2019-08-13 17:41:01 +0100 |
commit | 566e4adc16e4aa3bc1107c32af5df45f027424ca (patch) | |
tree | 05ca04be70a20fed9559d41c5ca67b0cc32920da /src/backends/reference/RefLayerSupport.cpp | |
parent | d8edabb894d723737f1cbd387779204b4441a801 (diff) | |
download | armnn-566e4adc16e4aa3bc1107c32af5df45f027424ca.tar.gz |
IVGCVSW-3635 Remove temporary check from RefLayerSupport::IsTransposeConvolution2dSupported()
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: I85a9563e2d12a5eb9dbcac1b70563a303905b67b
Diffstat (limited to 'src/backends/reference/RefLayerSupport.cpp')
-rw-r--r-- | src/backends/reference/RefLayerSupport.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/backends/reference/RefLayerSupport.cpp b/src/backends/reference/RefLayerSupport.cpp index b105bcbec8..2648f459d6 100644 --- a/src/backends/reference/RefLayerSupport.cpp +++ b/src/backends/reference/RefLayerSupport.cpp @@ -1612,24 +1612,6 @@ bool RefLayerSupport::IsTransposeConvolution2dSupported(const TensorInfo& input, "Reference TransposeConvolution2d: biases is not a supported type."); } - // NOTE: Temporary restriction; should be removed as soon as support for channel - // multiplier different from 1 (input channels != output channels) has been added - struct ChannelsAreEqual : public Rule - { - ChannelsAreEqual(const TensorInfo& input, - const TensorInfo& output, - const TransposeConvolution2dDescriptor& descriptor) - { - armnnUtils::DataLayoutIndexed dataLayoutIndexed(descriptor.m_DataLayout); - const unsigned int channelsIndex = dataLayoutIndexed.GetChannelsIndex(); - - m_Res = (input.GetShape()[channelsIndex] == output.GetShape()[channelsIndex]); - } - }; - - supported &= CheckSupportRule(ChannelsAreEqual(input, output, descriptor), reasonIfUnsupported, - "Reference TransposeConvolution2d: inputChannels != outputChannels"); - return supported; } |