-
Notifications
You must be signed in to change notification settings - Fork 12
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
Better API #2
Comments
Closed
New API ready for review at https://github.com/Kaixhin/nninit/tree/chaining. Edit: Now on master. |
ooooh, i like the :init style. |
Closed
Glad to hear it. My 2 main questions at this point are:
Edit: Now using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently
nninit
is a bit clunky (in an effort to avoid side-effects). I would like to modifynn.Module
to have something like aninit
method, with an API along the lines of:I think returning the module and therefore being able to chain calls makes it a lot more elegant. The current way of entering parameters can also be discussed. Any thoughts @soumith / @skaae?
The text was updated successfully, but these errors were encountered: