aboutsummaryrefslogtreecommitdiff
path: root/tests/IArrayAccessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/IArrayAccessor.h')
-rw-r--r--tests/IArrayAccessor.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/IArrayAccessor.h b/tests/IArrayAccessor.h
index 8c73046cd9..e5d2f94998 100644
--- a/tests/IArrayAccessor.h
+++ b/tests/IArrayAccessor.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -35,12 +35,16 @@ template <typename T>
class IArrayAccessor
{
public:
+ /** Array value type */
using value_type = T;
/** Virtual destructor. */
virtual ~IArrayAccessor() = default;
- /** Number of elements of the tensor. */
+ /** Number of elements of the tensor.
+ *
+ * @return the number of elements.
+ */
virtual size_t num_values() const = 0;
/** Access to the buffer.