From 1f45dc3e7f955a6d75c8516ba6fd7eade2b03cb7 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Mon, 15 Jun 2020 11:43:03 +0100 Subject: Remove per-channel quantization support in ref fully connected * was added accidentally Signed-off-by: Jan Eilers Change-Id: I332036ffd35868b0fe1226aba5522af3b91d25da --- src/backends/reference/RefLayerSupport.cpp | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) (limited to 'src/backends/reference/RefLayerSupport.cpp') diff --git a/src/backends/reference/RefLayerSupport.cpp b/src/backends/reference/RefLayerSupport.cpp index 52a763247e..e13a2e23c0 100644 --- a/src/backends/reference/RefLayerSupport.cpp +++ b/src/backends/reference/RefLayerSupport.cpp @@ -947,30 +947,11 @@ bool RefLayerSupport::IsFullyConnectedSupported(const TensorInfo& input, "Reference Fully Connected: input and output types mismatched."); } - ARMNN_NO_DEPRECATE_WARN_BEGIN - std::array supportedWeightTypes = - { - DataType::QAsymmS8, - DataType::QAsymmU8, - DataType::QSymmS8, - DataType::QuantizedSymm8PerAxis // deprecated - }; - ARMNN_NO_DEPRECATE_WARN_END - - if (IsQuantized8BitType(input.GetDataType())) - { - - supported &= CheckSupportRule(TypeAnyOf(weights, supportedWeightTypes), reasonIfUnsupported, - "Reference Fully Connected: weights type not supported for quantized input."); - } - else - { - supported &= CheckSupportRule(TypeAnyOf(weights, supportedTypes), reasonIfUnsupported, - "Reference Fully Connected: weights is not a supported type."); + supported &= CheckSupportRule(TypeAnyOf(weights, supportedTypes), reasonIfUnsupported, + "Reference Fully Connected: weights is not a supported type."); - supported &= CheckSupportRule(TypesAreEqual(input, weights), reasonIfUnsupported, - "Reference Fully Connected: input and weights types mismatched."); - } + supported &= CheckSupportRule(TypesAreEqual(input, weights), reasonIfUnsupported, + "Reference Fully Connected: input and weights types mismatched."); if (descriptor.m_BiasEnabled) { -- cgit v1.2.1