aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Eilers <jan.eilers@arm.com>2020-06-15 11:43:03 +0100
committerJan Eilers <jan.eilers@arm.com>2020-06-22 14:41:11 +0100
commit1f45dc3e7f955a6d75c8516ba6fd7eade2b03cb7 (patch)
treeee9695dcd6b2d6d2eefbd467e29dbb6d41846bd1 /src
parentab219756319667ae7abb0d767cf15e766ab343b1 (diff)
downloadarmnn-1f45dc3e7f955a6d75c8516ba6fd7eade2b03cb7.tar.gz
Remove per-channel quantization support in ref fully connected
* was added accidentally Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I332036ffd35868b0fe1226aba5522af3b91d25da
Diffstat (limited to 'src')
-rw-r--r--src/backends/reference/RefLayerSupport.cpp27
1 files changed, 4 insertions, 23 deletions
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<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)
{