Skip to content
Closed
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
22 changes: 22 additions & 0 deletions docs/api/paddle/jit/enable_to_static__cn.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.. _cn_api_paddle_jit_enable_to_static:

enable_to_static
-------------------------------

.. py:function:: paddle.jit.enable_to_static(enable_to_static_bool)
通过 ProgramTranslator 全局地启用或禁用从命令图到静态图的转换。

参数
:::::::::

**enable_to_static_bool** (bool) – True 或 False 可启用或禁用转换为静态。

返回
:::::::::

None

代码示例
::::::::::::

COPY-FROM: paddle.jit.enable_to_static