diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2021-06-02 20:23:21 +0100 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2021-06-03 13:18:02 +0000 |
commit | 1b1950d909e886ad3cbc0be68107fae8e4951283 (patch) | |
tree | 8195c96444f87b63d83dee3e8a0069066a585223 /src/backends/reference | |
parent | 6929173d571b8d7a8c8a0ff68af832b84f237fbe (diff) | |
download | armnn-1b1950d909e886ad3cbc0be68107fae8e4951283.tar.gz |
Remove duplicated check for Dequantize input type not supported
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ie05412091c25dc67f9d5d842aa1b63350fba9ee7
Diffstat (limited to 'src/backends/reference')
-rw-r--r-- | src/backends/reference/RefLayerSupport.cpp | 5 |
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, |