aboutsummaryrefslogtreecommitdiff
path: root/tests/IAccessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/IAccessor.h')
-rw-r--r--tests/IAccessor.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/IAccessor.h b/tests/IAccessor.h
index 3744fc8c02..6170bc0ba1 100644
--- a/tests/IAccessor.h
+++ b/tests/IAccessor.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -52,6 +52,9 @@ public:
/** Image format of the tensor. */
virtual Format format() const = 0;
+ /** Data layout of the tensor. */
+ virtual DataLayout data_layout() const = 0;
+
/** Data type of the tensor. */
virtual DataType data_type() const = 0;