From 583137cc60580023abfd9d05abf933e7e117e29f Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 31 Aug 2017 18:12:42 +0100 Subject: COMPMID-417: Add support for floats in scale. Change-Id: I7d714ba13861509080a89817f54e9d32da83e970 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86026 Reviewed-by: Pablo Tello Tested-by: Kaizen --- arm_compute/core/Types.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arm_compute/core/Types.h') diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index b90798e5ff..7d9cd4e0cc 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -26,6 +26,7 @@ #include "arm_compute/core/Coordinates.h" #include "arm_compute/core/TensorShape.h" +#include "support/Half.h" #include #include @@ -34,6 +35,9 @@ namespace arm_compute { +/** 16-bit floating point type */ +using half = half_float::half; + /** Image colour formats */ enum class Format { -- cgit v1.2.1