Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/fluid/api_cn/executor_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ feed map为该program提供输入数据。fetch_list提供program训练结束后
global_scope
-------------------------------

.. py:function:: paddle.fluid.global_scope ()
.. py:function:: paddle.fluid.executor.global_scope ()


获取全局/默认作用域实例。很多api使用默认 ``global_scope`` ,例如 ``Executor.run`` 。
Expand All @@ -163,7 +163,7 @@ global_scope
scope_guard
-------------------------------

.. py:function:: paddle.fluid.scope_guard (scope)
.. py:function:: paddle.fluid.executor.scope_guard (scope)


修改全局/默认作用域(scope), 运行时中的所有变量都将分配给新的scope。
Expand Down
4 changes: 3 additions & 1 deletion doc/fluid/api_cn/fluid_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ BuildStrategy

str类型。它表明了以graphviz格式向文件中写入SSA图的路径,有利于调试。 默认值为""。

.. py:attribute:: enable_sequential_execution

类型是BOOL。 如果设置为True,则ops的执行顺序将与program中的执行顺序相同。 默认为False。


.. py:attribute:: fuse_elewise_add_act_ops
Expand Down Expand Up @@ -1183,7 +1185,7 @@ LoDTensorArray

.. py:method:: append(self: paddle.fluid.core.LoDTensorArray, tensor: paddle.fluid.core.LoDTensor) → None

将LoDensor追加到LoDTensorArray后
将LoDTensor追加到LoDTensorArray后



Expand Down
2 changes: 1 addition & 1 deletion doc/fluid/api_cn/initializer_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ force_init_on_cpu
init_on_cpu
-------------------------------

.. py:function:: paddle.fluid.initializer.init_on_cpu(*args, **kwds)
.. py:function:: paddle.fluid.initializer.init_on_cpu()

强制变量在 cpu 上初始化。

Expand Down
Loading