diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-08-22 11:44:04 +0100 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-08-22 15:28:03 +0000 |
commit | c8530210c17b391f27ace95523e9590e8166fcd8 (patch) | |
tree | 7ab0ea38b730a194aba2da91440a991a7614be8f /utils | |
parent | 57a896172ff77c13655b1dc5acc9cfb2930e0570 (diff) | |
download | armcl-c8530210c17b391f27ace95523e9590e8166fcd8.tar.gz armcl-c8530210c17b391f27ace95523e9590e8166fcd8.tar.bz2 armcl-c8530210c17b391f27ace95523e9590e8166fcd8.zip |
COMPMID-2417: Add new QASYMM8_PER_CHANNEL data type
Change-Id: I6825320909a553513b98cf9b262fc90e37a2fa30
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1790
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TypePrinter.h | 3 | ||||
-rw-r--r-- | utils/Utils.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index f51d2368e..69ffe9e4a 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 cc5dfbabc..8605f4e3e 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: |