-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detach coefficient and offset in AffineTransform in eval mode (#1642)
Summary: Pull Request resolved: #1642 See #1635. These should only retain grad if learning the coefficient and while in train mode. Differential Revision: D42700421 fbshipit-source-id: 907f72a6f585f55f1496e23f58bc463eac063860
- Loading branch information
1 parent
72e872a
commit 816425e
Showing
2 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters