aboutsummaryrefslogtreecommitdiff
path: root/tests/ClassifierTestCaseData.hpp
diff options
context:
space:
mode:
authortelsoa01 <telmo.soares@arm.com>2018-03-09 14:13:49 +0000
committertelsoa01 <telmo.soares@arm.com>2018-03-09 14:13:49 +0000
commit4fcda0101ec3d110c1d6d7bee5c83416b645528a (patch)
treec9a70aeb2887006160c1b3d265c27efadb7bdbae /tests/ClassifierTestCaseData.hpp
downloadarmnn-4fcda0101ec3d110c1d6d7bee5c83416b645528a.tar.gz
Release 18.02
Change-Id: Id3c11dc5ee94ef664374a988fcc6901e9a232fa6
Diffstat (limited to 'tests/ClassifierTestCaseData.hpp')
-rw-r--r--tests/ClassifierTestCaseData.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/ClassifierTestCaseData.hpp b/tests/ClassifierTestCaseData.hpp
new file mode 100644
index 0000000000..6dbced28d6
--- /dev/null
+++ b/tests/ClassifierTestCaseData.hpp
@@ -0,0 +1,21 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// See LICENSE file in the project root for full license information.
+//
+#pragma once
+
+#include <vector>
+
+template <typename DataType>
+class ClassifierTestCaseData
+{
+public:
+ ClassifierTestCaseData(unsigned int label, std::vector<DataType> inputImage)
+ : m_Label(label)
+ , m_InputImage(std::move(inputImage))
+ {
+ }
+
+ const unsigned int m_Label;
+ std::vector<DataType> m_InputImage;
+};