Reformat code.

This commit is contained in:
2017-10-07 20:16:48 +02:00
parent ff94a1d3da
commit dbcb4ead51
5 changed files with 97 additions and 108 deletions

View File

@@ -1,18 +1,15 @@
#include <iostream>
#include <string>
#include "Simulator.hpp"
using namespace caffe;
using namespace std;
using namespace fmri;
Simulator::Simulator(const string& model_file, const string& weights_file) :
net(model_file, TEST)
{
net.CopyTrainedLayersFrom(weights_file);
Simulator::Simulator(const string &model_file, const string &weights_file) :
net(model_file, TEST) {
net.CopyTrainedLayersFrom(weights_file);
}
void Simulator::simulate(const string& image_file)
{
cerr << "This is not implemented yet." << endl;
void Simulator::simulate(const string &image_file) {
cerr << "This is not implemented yet." << endl;
}