Update Readme

This commit is contained in:
David Nogueira
2018-04-02 10:17:16 +01:00
committed by GitHub
parent 4f55a15543
commit cabf66af32

View File

@@ -68,11 +68,12 @@ Saving and loading models is also very intuitive:
```cpp
#include "MLP.h"
{
std::string model = "../../data/iris.mlp";
//...
my_mlp.SaveMLPNetwork(std::string("../../data/iris.mlp")); //saving
my_mlp.SaveMLPNetwork(model); //saving
}
{
MLP my_mlp(std::string("../../data/iris.mlp")); //load a model in constructor
MLP my_mlp(model); //load a model in constructor
//...
}
```