This repository has been archived on 2019-09-17. You can view files and clone it, but cannot push or open issues or pull requests.
Files
research-project/src/Simulator.hpp
Bert Peters 470399aabf Implement a new layer data type.
Contrary to layerdata, this describes the layer itself rather than the
layer contents.
2018-01-02 16:17:07 +01:00

26 lines
536 B
C++

#pragma once
#include <string>
#include <memory>
#include <vector>
#include "LayerData.hpp"
#include "LayerInfo.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);
const std::map<std::string, LayerInfo>& layerInfo() const;
private:
struct Impl;
std::unique_ptr<Impl> pImpl;
};
}