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

Fix requires_grad modification when using to method of nn_module. #501

Merged
merged 1 commit into from Mar 25, 2021

Conversation

dfalbel
Copy link
Member

@dfalbel dfalbel commented Mar 25, 2021

Fix #491

@dfalbel dfalbel merged commit 71b82d4 into master Mar 25, 2021
@dfalbel dfalbel deleted the bugfix/requires_grad branch March 25, 2021 19:10
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.

requires_grad becomes TRUE after to(device = "cpu")
1 participant