3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-12 18:25:53 +00:00
Brooklyn/arch/arm/ARMnn/tests/Cifar10Database.hpp
Scare Crowe d2ebfd0519 QortalOS Titan 5.60.12
Screw the description like that inbred T3Q
2022-03-05 21:17:59 +05:00

25 lines
537 B
C++

//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#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;
};