blob: 1a819aad643903e1ade37c7692da587c078f87d5 [file] [log] [blame]
//
// 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 DataType = float;
using TTestCaseData = ClassifierTestCaseData<DataType>;
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;
};