提交 39019206 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!521 Update piecewise_constant_lr doc

Merge pull request !521 from fanglei/lrupdaetuple
......@@ -31,8 +31,8 @@ def piecewise_constant_lr(milestone, learning_rates):
y[i] = x_t for i \in [M_{t-1}, M_t)
Args:
milestone (list[int]): A list of milestone. This list is a monotone increasing list.
learning_rates (list[float]): A list of learning rates.
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.
Returns:
list[float]. The size of list is :math:`M_N`.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册