aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Davis <keith.davis@arm.com>2020-01-06 17:44:16 +0000
committerKeith Davis <keith.davis@arm.com>2020-01-07 10:16:30 +0000
commit7100649a0f9cdec8195cb26937280080b8c340ce (patch)
tree6851b21b0b0a47df15c750d1187008d39c229763
parentd410b60213be72e0f9e12ce939403ba90056562f (diff)
downloadandroid-nn-driver-7100649a0f9cdec8195cb26937280080b8c340ce.tar.gz
IVGCVSW-4192 Add DEQUANTIZE to the android-nn-driver
* Support for QSymm8 in ConversionUtils.hpp Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I39c654e7a3821ffe74336a13bf0b922686f337d1
-rw-r--r--ConversionUtils.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ConversionUtils.hpp b/ConversionUtils.hpp
index 760543ad..9500ba68 100644
--- a/ConversionUtils.hpp
+++ b/ConversionUtils.hpp
@@ -181,12 +181,14 @@ inline bool IsOperandTypeSupportedForTensors(V1_0::OperandType type)
#ifdef ARMNN_ANDROID_NN_V1_2
+// Support within the 1.2 driver for specific tensor data types
inline bool IsOperandTypeSupportedForTensors(V1_2::OperandType type)
{
return type == V1_2::OperandType::BOOL ||
type == V1_2::OperandType::TENSOR_FLOAT16 ||
type == V1_2::OperandType::TENSOR_FLOAT32 ||
type == V1_2::OperandType::TENSOR_QUANT8_ASYMM ||
+ type == V1_2::OperandType::TENSOR_QUANT8_SYMM ||
type == V1_2::OperandType::TENSOR_QUANT8_SYMM_PER_CHANNEL ||
type == V1_2::OperandType::TENSOR_QUANT16_SYMM ||
type == V1_2::OperandType::TENSOR_INT32;