aboutsummaryrefslogtreecommitdiff
path: root/torch_ema
diff options
context:
space:
mode:
Diffstat (limited to 'torch_ema')
-rw-r--r--torch_ema/ema.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/torch_ema/ema.py b/torch_ema/ema.py
index b819a04..8f39bc5 100644
--- a/torch_ema/ema.py
+++ b/torch_ema/ema.py
@@ -66,7 +66,7 @@ class ExponentialMovingAverage:
Args:
parameters: Iterable of `torch.nn.Parameter`; the parameters to be
- updated with the stored moving averages.
+ temporary stored in.
"""
self.collected_parameters = []
for param in parameters:
@@ -81,7 +81,7 @@ class ExponentialMovingAverage:
Args:
parameters: Iterable of `torch.nn.Parameter`; the parameters to be
- updated with the stored moving averages.
+ updated with the stored parameters.
"""
for c_param, param in zip(self.collected_parameters, parameters):
if param.requires_grad: