未验证 提交 23e544d1 编写于 作者: R RedContritio 提交者: GitHub

update class docstring in PiecewiseDecay (#50393)

上级 0e439210
......@@ -333,7 +333,7 @@ class PiecewiseDecay(LRScheduler):
Args:
boundaries(list|tuple): A list/tuple of steps numbers. The type of element in the list is python int.
values(list|tuple): A list/tuple of learning rate values that will be picked during different epoch boundaries.
The type of element in the list is python float.
The type of element in the list is python float. The ``values`` have one more element than ``boundaries``.
last_epoch (int, optional): The index of last epoch. Can be set to restart training. Default: -1, means initial learning rate.
verbose (bool, optional): If ``True``, prints a message to stdout for each update. Default: ``False`` .
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册