未验证 提交 3f0ca61a 编写于 作者: X xiaoting 提交者: GitHub

fix noam decay example, test=develop,test=document_fix (#22557)

上级 9ed59da4
......@@ -56,7 +56,7 @@ def noam_decay(d_model, warmup_steps):
.. code-block:: python
import padde.fluid as fluid
import paddle.fluid as fluid
import numpy as np
# set hyper parameters
d_model = 2
......@@ -80,7 +80,7 @@ def noam_decay(d_model, warmup_steps):
Examples:
.. code-block:: python
import padde.fluid as fluid
import paddle.fluid as fluid
warmup_steps = 100
learning_rate = 0.01
lr = fluid.layers.learning_rate_scheduler.noam_decay(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册