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

Use __call__ instead of forward #58

Merged
merged 1 commit into from
Apr 10, 2017
Merged

Use __call__ instead of forward #58

merged 1 commit into from
Apr 10, 2017

Conversation

abhiskk
Copy link
Contributor

@abhiskk abhiskk commented Apr 10, 2017

Replacing usage of forward() with call operators like: model(input) which is the suggested usage. Code for details.

@soumith soumith merged commit 250c671 into pytorch:master Apr 10, 2017
@soumith
Copy link
Member

soumith commented Apr 10, 2017

thanks abhishek!

chsasank added a commit that referenced this pull request Apr 10, 2017
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.

2 participants