telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // See LICENSE file in the project root for full license information. |
| 4 | // |
| 5 | #pragma once |
| 6 | |
| 7 | #include "ClassifierTestCaseData.hpp" |
| 8 | |
| 9 | #include <string> |
| 10 | #include <memory> |
| 11 | |
| 12 | class Cifar10Database |
| 13 | { |
| 14 | public: |
| 15 | using TTestCaseData = ClassifierTestCaseData<float>; |
| 16 | |
| 17 | explicit Cifar10Database(const std::string& binaryFileDirectory, bool rgbPack = false); |
| 18 | std::unique_ptr<TTestCaseData> GetTestCaseData(unsigned int testCaseId); |
| 19 | |
| 20 | private: |
| 21 | std::string m_BinaryDirectory; |
| 22 | bool m_RgbPack; |
| 23 | }; |