Added comment to show how to deserialize a network.

This commit is contained in:
Davis King 2016-05-15 14:52:33 -04:00
parent ba0f7c5c53
commit ee2a0070db
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ int main(int argc, char** argv) try
// "cleaning" the network before saving it.
net.clean();
serialize("mnist_network.dat") << net;
// Now if we later wanted to recall the network from disk we can simply say:
// deserialize("mnist_network.dat") >> net;
// Now let's run the training images through the network. This statement runs all the