24 lines
450 B
C++
24 lines
450 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <memory>
|
|
#include <vector>
|
|
#include "LayerData.hpp"
|
|
|
|
namespace fmri {
|
|
using std::string;
|
|
using std::vector;
|
|
|
|
class Simulator {
|
|
public:
|
|
Simulator(const string &model_file, const string &weights_file, const string &means_file = "");
|
|
~Simulator();
|
|
|
|
vector<LayerData> simulate(const string &input_file);
|
|
|
|
private:
|
|
struct Impl;
|
|
std::unique_ptr<Impl> pImpl;
|
|
};
|
|
}
|