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

Cross-cite autograd #1

Open
alexbw opened this issue May 2, 2015 · 3 comments
Open

Cross-cite autograd #1

alexbw opened this issue May 2, 2015 · 3 comments

Comments

@alexbw
Copy link

alexbw commented May 2, 2015

Would be nice in the README to point Python folks to autograd, and I'm sure they'd be pumped to point Lua folks here.

@bshillingford
Copy link
Owner

Thanks for the pointer, I haven't heard of that library. That's pretty much
the direction I hope to go, but the difference here (at least for now) is
that it works at the level of torch's nn modules. Once it's reasonably
complete I'll add a link, but not yet to avoid confusion about what its
current state is.

On Sat, May 2, 2015 at 2:28 PM, Alex Wiltschko [email protected]
wrote:

Would be nice in the README to point Python folks to autograd
https://github.com/hips/autograd, and I'm sure they'd be pumped to
point Lua folks here.


Reply to this email directly or view it on GitHub
#1.

@fabiencro
Copy link

And for information, there is now a torch version of autograd:
https://github.com/twitter/torch-autograd
(not sure yet how it compares with this module...)

@alexbw
Copy link
Author

alexbw commented Dec 21, 2015

We ported autograd to Torch, and added interoperability with all nn modules, which we allow you to call like functions.

Here's an example of a feed-forward net, using just torch functions: https://github.com/twitter/torch-autograd/blob/39d7e1b91ef6c4d2cfcee7730992ad2719760bce/examples/train-mnist-mlp.lua#L17-L31

And here's an example of a CNN, using nn modules: https://github.com/twitter/torch-autograd/blob/39d7e1b91ef6c4d2cfcee7730992ad2719760bce/examples/train-mnist-cnn.lua#L14-L44

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

No branches or pull requests

3 participants