diff options
Diffstat (limited to 'src/core/Utils.cpp')
-rw-r--r-- | src/core/Utils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/Utils.cpp b/src/core/Utils.cpp index d9e05d7ee8..7e1af0e27d 100644 --- a/src/core/Utils.cpp +++ b/src/core/Utils.cpp @@ -292,6 +292,7 @@ std::string arm_compute::string_from_pixel_value(const PixelValue &value, const converted_string = ss.str(); break; case DataType::S8: + case DataType::QSYMM8_PER_CHANNEL: // Needs conversion to 32 bit, otherwise interpreted as ASCII values ss << int32_t(value.get<int8_t>()); converted_string = ss.str(); @@ -437,6 +438,7 @@ void arm_compute::print_consecutive_elements(std::ostream &s, DataType dt, const print_consecutive_elements_impl<uint8_t>(s, ptr, n, stream_width, element_delim); break; case DataType::S8: + case DataType::QSYMM8_PER_CHANNEL: print_consecutive_elements_impl<int8_t>(s, reinterpret_cast<const int8_t *>(ptr), n, stream_width, element_delim); break; case DataType::U16: @@ -473,6 +475,7 @@ int arm_compute::max_consecutive_elements_display_width(std::ostream &s, DataTyp case DataType::QASYMM8_PER_CHANNEL: return max_consecutive_elements_display_width_impl<uint8_t>(s, ptr, n); case DataType::S8: + case DataType::QSYMM8_PER_CHANNEL: return max_consecutive_elements_display_width_impl<int8_t>(s, reinterpret_cast<const int8_t *>(ptr), n); case DataType::U16: case DataType::QASYMM16: |