From c8530210c17b391f27ace95523e9590e8166fcd8 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Thu, 22 Aug 2019 11:44:04 +0100 Subject: COMPMID-2417: Add new QASYMM8_PER_CHANNEL data type Change-Id: I6825320909a553513b98cf9b262fc90e37a2fa30 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/1790 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas --- utils/TypePrinter.h | 3 +++ utils/Utils.h | 1 + 2 files changed, 4 insertions(+) (limited to 'utils') diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index f51d2368e1..69ffe9e4a6 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -628,6 +628,9 @@ inline ::std::ostream &operator<<(::std::ostream &os, const DataType &data_type) case DataType::QSYMM8_PER_CHANNEL: os << "QSYMM8_PER_CHANNEL"; break; + case DataType::QASYMM8_PER_CHANNEL: + os << "QASYMM8_PER_CHANNEL"; + break; case DataType::S8: os << "S8"; break; diff --git a/utils/Utils.h b/utils/Utils.h index cc5dfbabc2..8605f4e3e1 100644 --- a/utils/Utils.h +++ b/utils/Utils.h @@ -166,6 +166,7 @@ inline std::string get_typestring(DataType data_type) { case DataType::U8: case DataType::QASYMM8: + case DataType::QASYMM8_PER_CHANNEL: return no_endianness + "u" + support::cpp11::to_string(sizeof(uint8_t)); case DataType::S8: case DataType::QSYMM8: -- cgit v1.2.1