summaryrefslogtreecommitdiff
path: root/tests/Cifar10Database.hpp
blob: a4998cee1d41de89708333a5272ffd54e79c9f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once

#include "ClassifierTestCaseData.hpp"

#include <string>
#include <memory>

class Cifar10Database
{
public:
    using TTestCaseData = ClassifierTestCaseData<float>;

    explicit Cifar10Database(const std::string& binaryFileDirectory, bool rgbPack = false);
    std::unique_ptr<TTestCaseData> GetTestCaseData(unsigned int testCaseId);

private:
    std::string m_BinaryDirectory;
    bool m_RgbPack;
};