mirror of
https://github.com/davidalbertonogueira/MLP.git
synced 2025-12-16 20:07:07 +03:00
Update Readme
This commit is contained in:
@@ -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
|
||||
//...
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user