Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

have a look at the docs , each Layer has a blobs member , which contains weights & biases

have a look at the docs , each Layer has a blobs member , which contains weights & biasesbiases. like:

for (auto b: layer->blobs) {
     for (int d=0; d<b.dims; d++)
         cout << b.size[d] << " ";
}