Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Algorithm::loadFromString

loads data from memory , not from a file on disk. it expects a string containing the data, not a filename.

this is useful, if your model comes e.g. from a database, a socket, or is even hardcoded in your program.

to load a model from disk, use:

Ptr<ANN_MLP> neuron = ANN_MLP::load<ANN_MLP>("neuron.xml");