Is it an API like model.summary in Pytorch? #3599
Answered
by
cgarciae
BraveDrXuTF
asked this question in
Q&A
-
My need is to know the exact parameter amount of a model, I can use a function like this
to get the shape of parameters, and then I can calculate them to get the parameter amount. So I wonder if there is an API to do this, or I can contribute some code as an API? |
Beta Was this translation helpful? Give feedback.
Answered by
cgarciae
Jan 3, 2024
Replies: 1 comment 1 reply
-
Hey! Take a look at Module.tabulate. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chiamp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! Take a look at Module.tabulate.