Remove per-channel quantization support in ref fully connected
authorJan Eilers <jan.eilers@arm.com>
Mon, 15 Jun 2020 10:43:03 +0000 (11:43 +0100)
committerJan Eilers <jan.eilers@arm.com>
Mon, 22 Jun 2020 13:41:11 +0000 (14:41 +0100)
 * was added accidentally

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I332036ffd35868b0fe1226aba5522af3b91d25da

src/backends/reference/RefLayerSupport.cpp

index 52a7632..e13a2e2 100644 (file)
@@ -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<DataType, 4> 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)
     {