Enable xdoctest runner in CI for real this time (#83816)

Builds on #83317 and enables running the doctests. Just need to figure out what is causing the failures.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/83816
Approved by: https://github.com/ezyang, https://github.com/malfet
This commit is contained in:
joncrall
2022-12-29 05:32:42 +00:00
committed by PyTorch MergeBot
parent fb4fc0dabe
commit ad782ff7df
90 changed files with 456 additions and 262 deletions

View File

@ -9,6 +9,7 @@ from torch.optim.lr_scheduler import LRScheduler
__all__ = ['AveragedModel', 'update_bn', 'SWALR']
class AveragedModel(Module):
r"""Implements averaged model for Stochastic Weight Averaging (SWA).