From f20c1d1cdb0fe53b899f8d1ab83e4af8203a7a1c Mon Sep 17 00:00:00 2001 From: Gyeongjae Choi Date: Mon, 8 Feb 2021 23:53:46 +0900 Subject: [PATCH] Fix typo in docstring (#5835) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 0a50bb406fa41dfa6a0e2be52f531a9c81c87d00) --- pytorch_lightning/plugins/legacy/apex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_lightning/plugins/legacy/apex.py b/pytorch_lightning/plugins/legacy/apex.py index 49a9c57fd5..6968296e1f 100644 --- a/pytorch_lightning/plugins/legacy/apex.py +++ b/pytorch_lightning/plugins/legacy/apex.py @@ -107,7 +107,7 @@ class ApexPlugin(PrecisionPlugin): grad_clip_val: Maximum norm of gradients. optimizer: Optimizer with gradients that will be clipped. norm_type: (float or int): type of the used p-norm. Can be ``'inf'`` for - infinity norm. + infinity norm. """ model = self.trainer.get_model() parameters = model.parameters()