Browse Source

Modify wrong type description.

tags/v0.2.0-alpha
leilei_snow 6 years ago
parent
commit
c2129b9190
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/nn/dynamic_lr.py

+ 1
- 1
mindspore/nn/dynamic_lr.py View File

@@ -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`.


Loading…
Cancel
Save