-
Notifications
You must be signed in to change notification settings - Fork 25.2k
DOC Adds code comment to clarify nn.Linear.reset_parameters #58487
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
Conversation
💊 CI failures summary and remediationsAs of commit 8543d05 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the clarification! Might be worth adding a link to the issue discussion for those interested in the details on how using kaiming_uniform_
with sqrt(5)
results in uniform(-1/sqrt(in_features), 1/sqrt(in_features))
.
Codecov Report
@@ Coverage Diff @@
## master #58487 +/- ##
==========================================
- Coverage 76.46% 76.46% -0.01%
==========================================
Files 1992 1992
Lines 199937 199937
==========================================
- Hits 152879 152872 -7
- Misses 47058 47065 +7 |
@jbschlosser has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@jbschlosser merged this pull request in 145a6f7. |
Fixes #57109
Adds comment to clarify
a=sqrt(5)
innn.Linear.reset_parameters
.