Skip to content

Commit 89d8f03

Browse files
authored
Update Adadelta_cn.rst (#7169)
内容: 调整rst note标签缩进 修改: docs/api/paddle/optimizer/Adadelta_cn.rst
1 parent ee3124f commit 89d8f03

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

docs/api/paddle/optimizer/Adadelta_cn.rst

+6-11
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Adadelta
77
88
99
.. note::
10-
此接口不支持稀疏参数更新。
10+
此接口不支持稀疏参数更新。
1111

1212
Adadelta 优化器,是对 :ref:`Adagrad <cn_api_paddle_optimizer_Adagrad>` 的改进。
1313

@@ -50,8 +50,7 @@ step()
5050
'''''''''
5151

5252
.. note::
53-
54-
该 API 只在 `Dygraph <../../user_guides/howto/dygraph/DyGraph.html>`_ 模式下生效。
53+
该 API 只在 `Dygraph <../../user_guides/howto/dygraph/DyGraph.html>`_ 模式下生效。
5554

5655
执行一次优化器并进行参数更新。
5756

@@ -88,8 +87,7 @@ clear_grad()
8887
'''''''''
8988

9089
.. note::
91-
92-
该 API 只在 `Dygraph <../../user_guides/howto/dygraph/DyGraph.html>`_ 模式下生效。
90+
该 API 只在 `Dygraph <../../user_guides/howto/dygraph/DyGraph.html>`_ 模式下生效。
9391

9492

9593
清除需要优化的参数的梯度。
@@ -102,8 +100,7 @@ set_lr(value)
102100
'''''''''
103101

104102
.. note::
105-
106-
该 API 只在 `Dygraph <../../user_guides/howto/dygraph/DyGraph.html>`_ 模式下生效。
103+
该 API 只在 `Dygraph <../../user_guides/howto/dygraph/DyGraph.html>`_ 模式下生效。
107104

108105
手动设置当前 ``optimizer`` 的学习率。当使用_LRScheduler 时,无法使用该 API 手动设置学习率,因为这将导致冲突。
109106

@@ -123,8 +120,7 @@ set_lr_scheduler(scheduler)
123120
'''''''''
124121

125122
.. note::
126-
127-
该 API 只在 `Dygraph <../../user_guides/howto/dygraph/DyGraph.html>`_ 模式下生效。
123+
该 API 只在 `Dygraph <../../user_guides/howto/dygraph/DyGraph.html>`_ 模式下生效。
128124

129125
手动设置当前 ``optimizer`` 的学习率为 LRScheduler 类。
130126

@@ -144,8 +140,7 @@ get_lr()
144140
'''''''''
145141

146142
.. note::
147-
148-
该 API 只在 `Dygraph <../../user_guides/howto/dygraph/DyGraph.html>`_ 模式下生效。
143+
该 API 只在 `Dygraph <../../user_guides/howto/dygraph/DyGraph.html>`_ 模式下生效。
149144

150145
获取当前步骤的学习率。当不使用_LRScheduler 时,每次调用的返回值都相同,否则返回当前步骤的学习率。
151146

0 commit comments

Comments
 (0)