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

feat: Get number of parameters of a layer and a nn #910

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

TellemHD
Copy link
Contributor

@TellemHD TellemHD commented Jul 12, 2024

Closes #855

Summary of Changes

  • feat: Get number of parameters of a layer and a nn
  • adds UnitTests

Erst accepten und mergen, wenn #908 fertig ist!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

@TellemHD TellemHD linked an issue Jul 12, 2024 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented Jul 12, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 20 0 0 1.66s
✅ PYTHON mypy 20 0 2.97s
✅ PYTHON ruff 20 0 0 0.4s
✅ REPOSITORY git_diff yes no 0.39s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Copy link

codecov bot commented Jul 12, 2024

Codecov Report

Attention: Patch coverage is 88.57143% with 8 lines in your changes missing coverage. Please review.

Project coverage is 97.66%. Comparing base (6f63a6c) to head (c77d58d).
Report is 10 commits behind head on main.

Files Patch % Lines
src/safeds/ml/nn/typing/_tensor_shape.py 55.55% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #910      +/-   ##
==========================================
- Coverage   97.67%   97.66%   -0.02%     
==========================================
  Files         120      123       +3     
  Lines        6234     6626     +392     
==========================================
+ Hits         6089     6471     +382     
- Misses        145      155      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TellemHD TellemHD marked this pull request as draft July 12, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get number of parameters of a layer and an NN
3 participants