forked from mindspore-Ecosystem/mindspore
code_docs_lr
This commit is contained in:
parent
33bc6978a0
commit
b27adf0465
|
@ -20,7 +20,7 @@ mindspore.nn.CosineDecayLR
|
|||
|
||||
**输入:**
|
||||
|
||||
- **global_step** (Tensor) - 当前step数。
|
||||
- **global_step** (Tensor) - 当前step数,即current_step。
|
||||
|
||||
**输出:**
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ mindspore.nn.ExponentialDecayLR
|
|||
|
||||
**输入:**
|
||||
|
||||
- **global_step** (Tensor) - 当前step数。
|
||||
- **global_step** (Tensor) - 当前step数,即current_step。
|
||||
|
||||
**输出:**
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ mindspore.nn.InverseDecayLR
|
|||
|
||||
**输入:**
|
||||
|
||||
- **global_step** (Tensor) - 当前step数。
|
||||
- **global_step** (Tensor) - 当前step数,即current_step。
|
||||
|
||||
**输出:**
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ mindspore.nn.NaturalExpDecayLR
|
|||
|
||||
**输入:**
|
||||
|
||||
- **global_step** (Tensor):当前step数。
|
||||
- **global_step** (Tensor):当前step数,即current_step。
|
||||
|
||||
**输出:**
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ mindspore.nn.PolynomialDecayLR
|
|||
|
||||
**输入:**
|
||||
|
||||
- **global_step** (Tensor):当前step数。
|
||||
- **global_step** (Tensor):当前step数,即current_step。
|
||||
|
||||
**输出:**
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ mindspore.nn.WarmUpLR
|
|||
|
||||
其中,
|
||||
|
||||
.. math:
|
||||
.. math::
|
||||
tmp\_step=min(current\_step, warmup\_steps)
|
||||
|
||||
**参数:**
|
||||
|
@ -22,7 +22,7 @@ mindspore.nn.WarmUpLR
|
|||
|
||||
**输入:**
|
||||
|
||||
- **global_step** (Tensor) - 当前step数。
|
||||
- **global_step** (Tensor) - 当前step数,即current_step。
|
||||
|
||||
**输出:**
|
||||
|
||||
|
|
|
@ -439,7 +439,7 @@ class WarmUpLR(LearningRateSchedule):
|
|||
|
||||
Where :
|
||||
|
||||
.. math:
|
||||
.. math::
|
||||
tmp\_step=min(current\_step, warmup\_steps)
|
||||
|
||||
Args:
|
||||
|
|
Loading…
Reference in New Issue