First time here? Check out the FAQ!
answered 2018-11-13 01:22:19 -0600
have a look at the docs , each Layer has a blobs member , which contains weights & biases
updated 2018-11-13 01:35:13 -0600
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] << " "; }