aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/Types.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/Types.h')
-rw-r--r--arm_compute/core/Types.h4
1 files changed, 4 insertions, 0 deletions
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 <cstddef>
#include <cstdint>
@@ -34,6 +35,9 @@
namespace arm_compute
{
+/** 16-bit floating point type */
+using half = half_float::half;
+
/** Image colour formats */
enum class Format
{