aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/Utils.h
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2018-09-04 14:55:55 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit73023027d6250daaa1df49fdeb1d21e59a0bf7f5 (patch)
treefbe02771dde050fa1c386881cc6ff43d1ea10e05 /arm_compute/core/Utils.h
parent555d1109dd566661bcf911c28030927cf4fde5b4 (diff)
downloadComputeLibrary-73023027d6250daaa1df49fdeb1d21e59a0bf7f5.tar.gz
COMPMID-1539 Implement YOLOLayer on CL
Change-Id: I332c0703e1399fca0c5b724529b54a28f49c88da Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/146842 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute/core/Utils.h')
-rw-r--r--arm_compute/core/Utils.h6
1 files changed, 6 insertions, 0 deletions
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<float>::digits10 + 1);
ss << val;
+
+ if(val != static_cast<int>(val))
+ {
+ ss << "f";
+ }
+
return ss.str();
}