Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get number of parameters of a layer and an NN #855

Open
lars-reimann opened this issue Jun 24, 2024 · 0 comments · May be fixed by #910
Open

Get number of parameters of a layer and an NN #855

lars-reimann opened this issue Jun 24, 2024 · 0 comments · May be fixed by #910
Assignees
Labels
enhancement 💡 New feature or request lab Suitable for the lab team2

Comments

@lars-reimann
Copy link
Member

lars-reimann commented Jun 24, 2024

Is your feature request related to a problem?

It would be helpful to know the number of parameters of a layer and an NN.

Desired solution

  • Add a method get_parameter_count() -> int to Layer (and subclasses), NeuralNetworkRegressor, and NeuralNetworkClassifier.
  • Delegate the actual counting to individual layer classes and just sum up the results in the NNs.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

@lars-reimann lars-reimann added enhancement 💡 New feature or request lab Suitable for the lab labels Jun 24, 2024
@lars-reimann lars-reimann changed the title Get number of parameters of an NN Get number of parameters of a layer and an NN Jun 24, 2024
@saius02 saius02 added the team2 label Jul 5, 2024
@TellemHD TellemHD self-assigned this Jul 5, 2024
@TellemHD TellemHD linked a pull request Jul 12, 2024 that will close this issue
@TellemHD TellemHD linked a pull request Jul 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 💡 New feature or request lab Suitable for the lab team2
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

5 participants