Remove duplicated check for Dequantize input type not supported
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ie05412091c25dc67f9d5d842aa1b63350fba9ee7
diff --git a/src/backends/reference/RefLayerSupport.cpp b/src/backends/reference/RefLayerSupport.cpp
index e278e45..14a40f9 100644
--- a/src/backends/reference/RefLayerSupport.cpp
+++ b/src/backends/reference/RefLayerSupport.cpp
@@ -722,11 +722,8 @@
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,