diff options
Diffstat (limited to 'src/core/Utils.cpp')
-rw-r--r-- | src/core/Utils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/Utils.cpp b/src/core/Utils.cpp index bd6911fd2b..af864f57f7 100644 --- a/src/core/Utils.cpp +++ b/src/core/Utils.cpp @@ -353,6 +353,7 @@ void arm_compute::print_consecutive_elements(std::ostream &s, DataType dt, const print_consecutive_elements_impl<float>(s, reinterpret_cast<const float *>(ptr), n, stream_width, element_delim); break; case DataType::F16: + print_consecutive_elements_impl<half>(s, reinterpret_cast<const half *>(ptr), n, stream_width, element_delim); break; default: ARM_COMPUTE_ERROR("Undefined element size for given data type"); @@ -380,7 +381,7 @@ int arm_compute::max_consecutive_elements_display_width(std::ostream &s, DataTyp case DataType::F32: return max_consecutive_elements_display_width_impl<float>(s, reinterpret_cast<const float *>(ptr), n); case DataType::F16: - return 0; + return max_consecutive_elements_display_width_impl<half>(s, reinterpret_cast<const half *>(ptr), n); default: ARM_COMPUTE_ERROR("Undefined element size for given data type"); } |