diff options
-rw-r--r-- | utils/TypePrinter.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index be5880de86..0df320d7e0 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -488,10 +488,7 @@ inline ::std::ostream &operator<<(::std::ostream &os, const BoundingBoxTransform #if defined(ARM_COMPUTE_ENABLE_BF16) inline ::std::ostream &operator<<(::std::ostream &os, const bfloat16 &v) { - std::stringstream str; - str << v; - os << str.str(); - return os; + return os << float(v); } #endif /* defined(ARM_COMPUTE_ENABLE_BF16) */ |