aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2021-06-02 20:23:21 +0100
committerTeresaARM <teresa.charlinreyes@arm.com>2021-06-03 13:18:02 +0000
commit1b1950d909e886ad3cbc0be68107fae8e4951283 (patch)
tree8195c96444f87b63d83dee3e8a0069066a585223
parent6929173d571b8d7a8c8a0ff68af832b84f237fbe (diff)
downloadarmnn-1b1950d909e886ad3cbc0be68107fae8e4951283.tar.gz
Remove duplicated check for Dequantize input type not supported
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ie05412091c25dc67f9d5d842aa1b63350fba9ee7
-rw-r--r--src/backends/reference/RefLayerSupport.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backends/reference/RefLayerSupport.cpp b/src/backends/reference/RefLayerSupport.cpp
index e278e45f01..14a40f9d5d 100644
--- a/src/backends/reference/RefLayerSupport.cpp
+++ b/src/backends/reference/RefLayerSupport.cpp
@@ -722,11 +722,8 @@ bool RefLayerSupport::IsDequantizeSupported(const TensorInfo& input,
supported &= CheckSupportRule(TypeAnyOf(input, supportedInputTypes), reasonIfUnsupported,
"Reference for Dequantize layer: input type not supported.");
- supported &= CheckSupportRule( TypeNotPerAxisQuantized(input), reasonIfUnsupported,
- "Reference for Dequantize layer: per-axis quantized input not support .");
-
supported &= CheckSupportRule(TypeNotPerAxisQuantized(input), reasonIfUnsupported,
- "Reference dequantize: per-axis quantized input not support .");
+ "Reference for Dequantize layer: per-axis quantized input not supported.");
std::array<DataType,3> supportedOutputTypes = {
DataType::BFloat16,