Skip to content

Commit 03e9b95

Browse files
authored
Update IpuStrategy_cn.rst
1 parent 753cde5 commit 03e9b95

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/api/paddle/static/IpuStrategy_cn.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ IpuStrategy
77
.. py:class:: paddle.static.IpuStrategy()
88
99
10-
``IpuStrategy`` 使用户能更精准地控制 :ref:`cn_api_paddle_static_IpuCompiledProgram` 中计算图的建造方法。
10+
``IpuStrategy`` 使用户能更精准地控制 :ref:`cn_api_paddle_static_IpuCompiledProgram` 中计算图的建造方法。
1111

1212

1313
返回
@@ -137,7 +137,7 @@ COPY-FROM: paddle.static.IpuStrategy.disable_pattern
137137
register_patch(self)
138138
'''''''''
139139

140-
注册 patch function 以支持 IPU 上的动转静功能。该函数仅应在 IPU 动转静时使用,注册的函数会影响原动转静的逻辑,可通过``release_patch``释放注册的函数。
140+
注册 patch function 以支持 IPU 上的动转静功能。该函数仅应在 IPU 动转静时使用,注册的函数会影响原动转静的逻辑,可通过 ``release_patch`` 释放注册的函数。
141141

142142
**代码示例**
143143

@@ -183,19 +183,19 @@ COPY-FROM: paddle.static.IpuStrategy.parse_optimizer
183183
num_ipus
184184
'''''''''
185185

186-
返回 IpuStrategy 实例中的 IPU 设备个数,类型为 ``Int``。
186+
返回 IpuStrategy 实例中的 IPU 设备个数,类型为 ``Int``
187187

188188
is_training
189189
'''''''''
190190

191-
返回 IpuStrategy 实例中的计算模式是训练模式或推理模式,类型为 ``Bool``。
191+
返回 IpuStrategy 实例中的计算模式是训练模式或推理模式,类型为 ``Bool``
192192

193193
enable_pipelining
194194
'''''''''
195195

196-
返回 IpuStrategy 实例中是否使能数据流水线功能,类型为 ``Bool``。
196+
返回 IpuStrategy 实例中是否使能数据流水线功能,类型为 ``Bool``
197197

198198
enable_fp16
199199
'''''''''
200200

201-
返回 IpuStrategy 实例中是否使能 float16 计算图,类型为 ``Bool``。
201+
返回 IpuStrategy 实例中是否使能 float16 计算图,类型为 ``Bool``

0 commit comments

Comments
 (0)