From e86aa7e92e9b5f8ad8b347dbb7b2d7a2d0b2b567 Mon Sep 17 00:00:00 2001 From: "wangnan39@huawei.com" Date: Tue, 13 Apr 2021 11:19:20 +0800 Subject: [PATCH] 1.2 delete extra whitespace in comments of lazyadam --- mindspore/nn/optim/lazyadam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/nn/optim/lazyadam.py b/mindspore/nn/optim/lazyadam.py index 8201fc5faa..c21c095612 100644 --- a/mindspore/nn/optim/lazyadam.py +++ b/mindspore/nn/optim/lazyadam.py @@ -185,7 +185,7 @@ class LazyAdam(Optimizer): weight_decay (Union[float, int]): Weight decay (L2 penalty). Default: 0.0. loss_scale (float): A floating point value for the loss scale. Should be equal to or greater than 1. In general, use the default value. Only when `FixedLossScaleManager` is used for training and the `drop_overflow_update` - in `FixedLossScaleManager` is set to False, then this value needs to be the same as the `loss_scale` in + in `FixedLossScaleManager` is set to False, then this value needs to be the same as the `loss_scale` in `FixedLossScaleManager`. Refer to class :class:`mindspore.FixedLossScaleManager` for more details. Default: 1.0.