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

Lecun Normal added #2299

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Lecun Normal added #2299

wants to merge 1 commit into from

Conversation

vortex73
Copy link

@vortex73 vortex73 commented Jul 28, 2023

Lecun Normal Initializer added

PR Checklist

  • Tests are added
  • Entry in NEWS.md
  • Documentation, if applicable

@vortex73
Copy link
Author

Please mention any corrections if any.

@mcabbott
Copy link
Member

mcabbott commented Jul 28, 2023

Welcome!

This needs a docstring describing what it does (& linking to the paper?), and an entry in the manual.

It also needs tests, I think somewhere there's a list of init functions which get looped over, to which this could be added.

Re code, I think you should move upwards in this file, probably to just under truncated_normal. I also think it will need more methods, e.g. the others all take init(2, 3) (default RNG) and also init(::RNG) (returns a function).

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.

None yet

2 participants