Browse Source

code_docs_lr

feature/build-system-rewrite
wanyiming 4 years ago
parent
commit
b27adf0465
7 changed files with 8 additions and 8 deletions
  1. +1
    -1
      docs/api/api_python/nn/mindspore.nn.CosineDecayLR.rst
  2. +1
    -1
      docs/api/api_python/nn/mindspore.nn.ExponentialDecayLR.rst
  3. +1
    -1
      docs/api/api_python/nn/mindspore.nn.InverseDecayLR.rst
  4. +1
    -1
      docs/api/api_python/nn/mindspore.nn.NaturalExpDecayLR.rst
  5. +1
    -1
      docs/api/api_python/nn/mindspore.nn.PolynomialDecayLR.rst
  6. +2
    -2
      docs/api/api_python/nn/mindspore.nn.WarmUpLR.rst
  7. +1
    -1
      mindspore/python/mindspore/nn/learning_rate_schedule.py

+ 1
- 1
docs/api/api_python/nn/mindspore.nn.CosineDecayLR.rst View File

@@ -20,7 +20,7 @@ mindspore.nn.CosineDecayLR

**输入:**

- **global_step** (Tensor) - 当前step数。
- **global_step** (Tensor) - 当前step数,即current_step

**输出:**



+ 1
- 1
docs/api/api_python/nn/mindspore.nn.ExponentialDecayLR.rst View File

@@ -29,7 +29,7 @@ mindspore.nn.ExponentialDecayLR

**输入:**

- **global_step** (Tensor) - 当前step数。
- **global_step** (Tensor) - 当前step数,即current_step

**输出:**



+ 1
- 1
docs/api/api_python/nn/mindspore.nn.InverseDecayLR.rst View File

@@ -29,7 +29,7 @@ mindspore.nn.InverseDecayLR

**输入:**

- **global_step** (Tensor) - 当前step数。
- **global_step** (Tensor) - 当前step数,即current_step

**输出:**



+ 1
- 1
docs/api/api_python/nn/mindspore.nn.NaturalExpDecayLR.rst View File

@@ -29,7 +29,7 @@ mindspore.nn.NaturalExpDecayLR

**输入:**

- **global_step** (Tensor):当前step数。
- **global_step** (Tensor):当前step数,即current_step

**输出:**



+ 1
- 1
docs/api/api_python/nn/mindspore.nn.PolynomialDecayLR.rst View File

@@ -32,7 +32,7 @@ mindspore.nn.PolynomialDecayLR

**输入:**

- **global_step** (Tensor):当前step数。
- **global_step** (Tensor):当前step数,即current_step

**输出:**



+ 2
- 2
docs/api/api_python/nn/mindspore.nn.WarmUpLR.rst View File

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

**输出:**



+ 1
- 1
mindspore/python/mindspore/nn/learning_rate_schedule.py View File

@@ -439,7 +439,7 @@ class WarmUpLR(LearningRateSchedule):

Where :

.. math:
.. math::
tmp\_step=min(current\_step, warmup\_steps)

Args:


Loading…
Cancel
Save