From 73023027d6250daaa1df49fdeb1d21e59a0bf7f5 Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Tue, 4 Sep 2018 14:55:55 +0100 Subject: COMPMID-1539 Implement YOLOLayer on CL Change-Id: I332c0703e1399fca0c5b724529b54a28f49c88da Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/146842 Tested-by: Jenkins Reviewed-by: Georgios Pinitas --- arm_compute/core/Utils.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arm_compute/core/Utils.h') diff --git a/arm_compute/core/Utils.h b/arm_compute/core/Utils.h index 1cdfd389db..222f867e2c 100644 --- a/arm_compute/core/Utils.h +++ b/arm_compute/core/Utils.h @@ -1011,6 +1011,12 @@ inline std::string float_to_string_with_full_precision(float val) std::stringstream ss; ss.precision(std::numeric_limits::digits10 + 1); ss << val; + + if(val != static_cast(val)) + { + ss << "f"; + } + return ss.str(); } -- cgit v1.2.1