Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

it won't matter, if you use Mat layers(1,3,CV_32SC1); or Mat layers(3,1,CV_32SC1);

just decide for one and stick with it.

layers is just a one dimensional vector, each element contains the node-count for this layer, the 1st element is the input layer, the last one is the outpt layer, all inbetween are for the hidden ones.