From c2129b9190a552a31499eef178cd01ce116bd0ee Mon Sep 17 00:00:00 2001 From: leilei_snow Date: Tue, 21 Apr 2020 12:38:33 +0000 Subject: [PATCH] Modify wrong type description. --- mindspore/nn/dynamic_lr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/nn/dynamic_lr.py b/mindspore/nn/dynamic_lr.py index 266587c5c3..b88a7b7355 100644 --- a/mindspore/nn/dynamic_lr.py +++ b/mindspore/nn/dynamic_lr.py @@ -32,7 +32,7 @@ def piecewise_constant_lr(milestone, learning_rates): Args: milestone (Union[list[int], tuple[int]]): A list of milestone. This list is a monotone increasing list. - learning_rates (Union[list[float], tuple[int]]): A list of learning rates. + learning_rates (Union[list[float], tuple[float]]): A list of learning rates. Returns: list[float]. The size of list is :math:`M_N`.