generated/torch_uncertainty.models.EMA
Download Notebook
Notebook
View on GitHub
GitHub
EMA
-
class torch_uncertainty.models.EMA(model, momentum)[source]
Exponential Moving Average.
- Parameters:
-
-
update_wrapper(epoch=None)[source]
Update the EMA model.
- Parameters:
epoch (int) – The current epoch. For API consistency.