blob: 34f979348a172c07b6d071e4a5b139799801f70c [file] [log] [blame]
Laurent Carlier749294b2020-06-01 09:03:17 +01001//
telsoa014fcda012018-03-09 14:13:49 +00002// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
5#pragma once
6
7#include "ClassifierTestCaseData.hpp"
8
9#include <string>
10#include <memory>
11
12class Cifar10Database
13{
14public:
telsoa01c577f2c2018-08-31 09:22:23 +010015 using DataType = float;
16 using TTestCaseData = ClassifierTestCaseData<DataType>;
telsoa014fcda012018-03-09 14:13:49 +000017
18 explicit Cifar10Database(const std::string& binaryFileDirectory, bool rgbPack = false);
19 std::unique_ptr<TTestCaseData> GetTestCaseData(unsigned int testCaseId);
20
21private:
22 std::string m_BinaryDirectory;
23 bool m_RgbPack;
24};