COMPMID-503: Move MinMaxLocation to new validation
Change-Id: I2d518b3a3f15e2c4786488593dac244c1d74a0f9
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/86533
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com>
diff --git a/tests/IArrayAccessor.h b/tests/IArrayAccessor.h
index 73f8829..f128d8f 100644
--- a/tests/IArrayAccessor.h
+++ b/tests/IArrayAccessor.h
@@ -41,7 +41,7 @@
virtual ~IArrayAccessor() = default;
/** Number of elements of the tensor. */
- virtual int num_values() const = 0;
+ virtual size_t num_values() const = 0;
/** Access to the buffer.
*
@@ -54,6 +54,14 @@
* @param[in] num The new array size in number of elements
*/
virtual void resize(size_t num) = 0;
+
+ /** Reference to the element of the array located at the given index
+ *
+ * @param[in] index Index of the element
+ *
+ * @return A reference to the element of the array located at the given index.
+ */
+ virtual T &at(size_t index) const = 0;
};
} // namespace test
} // namespace arm_compute