My network has convolution and fully connected layers, and I want to access each neuron’s weights and bias values. If I use
for name, param in network.named_parameters():
    print(name, param.shape)

I get layer name and whether it is .weight or .bias tensor along with dimensions. How can I get each neuron’s dimensions along with its weights and bias term?