Skip to content

Commit 0ac5fc4

Browse files
committed
fix apex docstring
1 parent be4d1a2 commit 0ac5fc4

File tree

1 file changed

+1
-1
lines changed
  • pytorch_lightning/plugins/legacy

1 file changed

+1
-1
lines changed

pytorch_lightning/plugins/legacy/apex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def clip_gradients(self, grad_clip_val: Union[int, float], optimizer: Optimizer,
107107
grad_clip_val: Maximum norm of gradients.
108108
optimizer: Optimizer with gradients that will be clipped.
109109
norm_type: (float or int): type of the used p-norm. Can be ``'inf'`` for
110-
infinity norm.
110+
infinity norm.
111111
"""
112112
model = self.trainer.get_model()
113113
parameters = model.parameters()

0 commit comments

Comments
 (0)