File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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
137137register_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
183183num_ipus
184184'''''''''
185185
186- 返回 IpuStrategy 实例中的 IPU 设备个数,类型为 ``Int ``。
186+ 返回 IpuStrategy 实例中的 IPU 设备个数,类型为 ``Int `` 。
187187
188188is_training
189189'''''''''
190190
191- 返回 IpuStrategy 实例中的计算模式是训练模式或推理模式,类型为 ``Bool ``。
191+ 返回 IpuStrategy 实例中的计算模式是训练模式或推理模式,类型为 ``Bool `` 。
192192
193193enable_pipelining
194194'''''''''
195195
196- 返回 IpuStrategy 实例中是否使能数据流水线功能,类型为 ``Bool ``。
196+ 返回 IpuStrategy 实例中是否使能数据流水线功能,类型为 ``Bool `` 。
197197
198198enable_fp16
199199'''''''''
200200
201- 返回 IpuStrategy 实例中是否使能 float16 计算图,类型为 ``Bool ``。
201+ 返回 IpuStrategy 实例中是否使能 float16 计算图,类型为 ``Bool `` 。
You can’t perform that action at this time.
0 commit comments