aboutsummaryrefslogtreecommitdiff
path: root/tests/MnistDatabase.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/MnistDatabase.hpp')
-rw-r--r--tests/MnistDatabase.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/MnistDatabase.hpp b/tests/MnistDatabase.hpp
index 281b708589..b1336bcef8 100644
--- a/tests/MnistDatabase.hpp
+++ b/tests/MnistDatabase.hpp
@@ -12,7 +12,8 @@
class MnistDatabase
{
public:
- using TTestCaseData = ClassifierTestCaseData<float>;
+ using DataType = float;
+ using TTestCaseData = ClassifierTestCaseData<DataType>;
explicit MnistDatabase(const std::string& binaryFileDirectory, bool scaleValues = false);
std::unique_ptr<TTestCaseData> GetTestCaseData(unsigned int testCaseId);