Skip to content

Update how add_ method is used to avoid warnings #975

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

Merged
merged 3 commits into from
May 7, 2020
Merged

Update how add_ method is used to avoid warnings #975

merged 3 commits into from
May 7, 2020

Conversation

Superhzf
Copy link
Contributor

@Superhzf Superhzf commented May 3, 2020

Problem:

In char_rnn_* tutorials, Python will complain about how the add_ method is used because it has been deprecated.

Solution:

Follow the latest function signature.

@netlify
Copy link

netlify bot commented May 3, 2020

Deploy preview for pytorch-tutorials-preview ready!

Built with commit c0466d9

https://deploy-preview-975--pytorch-tutorials-preview.netlify.app

@Superhzf
Copy link
Contributor Author

Superhzf commented May 7, 2020

@rohan-varma Hi Rohan, could you please help me review this PR, should be simple.

@rohan-varma
Copy link
Member

LGTM, although I don't seem to have review permissions on this repo. cc @soumith to review/merge

@soumith soumith merged commit 4cbbacd into pytorch:master May 7, 2020
rodrigo-techera pushed a commit to Experience-Monks/tutorials that referenced this pull request Nov 29, 2021
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.

3 participants