-
Considering code below how can I get weight of any layer? Because I want to save weight during training.
Here suppose I want to get weight of layer I was trying to use |
Beta Was this translation helpful? Give feedback.
Answered by
wsad1
Jan 25, 2023
Replies: 1 comment 2 replies
-
A
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
atale480
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A
hook
is used to get intermediate output of some layer in your neural network, not to get the wieghts. To get the weights of lets sayconv2
simply do