aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/Types.h
diff options
context:
space:
mode:
authorIsabella Gottardi <isabella.gottardi@arm.com>2018-02-27 17:41:55 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:48:33 +0000
commitd17a677a70d477ae508c084148ba6974fc38477d (patch)
treedf6719551b1125941ecdfe4889826b0daa92088b /arm_compute/core/Types.h
parent240cfa65322da0c9b2ec0e78960ff4bd87c7573e (diff)
downloadComputeLibrary-d17a677a70d477ae508c084148ba6974fc38477d.tar.gz
COMPMID-979: Add NHWC data layout to the tensor's metadata
Change-Id: I89bdab7dc63a437eb7d60c0ae652c53c3875e503 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/122524 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'arm_compute/core/Types.h')
-rw-r--r--arm_compute/core/Types.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h
index 24c73ca7c1..143ee025f5 100644
--- a/arm_compute/core/Types.h
+++ b/arm_compute/core/Types.h
@@ -109,10 +109,20 @@ constexpr float SCALE_PYRAMID_ORB = 8.408964152537146130583778358414e-01;
/** Supported tensor data layouts */
enum class DataLayout
{
+ UNKNOWN,
NCHW,
NHWC
};
+/** Supported tensor data layout dimensions */
+enum class DataLayoutDimension
+{
+ CHANNEL,
+ HEIGHT,
+ WIDTH,
+ BATCHES
+};
+
/** Quantization settings (used for QASYMM8 data type) */
struct QuantizationInfo
{