forked from pytorch/tnt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable
use_buffer
for SWA in AutoUnit (pytorch#844)
Summary: Pull Request resolved: pytorch#844 Enables batch normalization statistics to be updated via `use_buffers` flag. See https://fb.workplace.com/groups/1323951304836028/posts/1668131377084684/?comment_id=1668215887076233 for user req This functionality existed in the base AveragedModel but was never public in TNT Reviewed By: diego-urgell Differential Revision: D58368554 fbshipit-source-id: fff608da39c471ee6e61af945a2f782e76ece5b9
- Loading branch information
1 parent
9d99ea6
commit f9f566b
Showing
2 changed files
with
9 additions
and
1 deletion.
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