未验证 提交 90e6819c 编写于 作者: W wanghuancoder 提交者: GitHub

fix engilsh document for api paddle.fluid.dygraph.enabled, test=develop, test=document_fix (#26271)

上级 efee4267
...@@ -91,8 +91,8 @@ def enabled(): ...@@ -91,8 +91,8 @@ def enabled():
""" """
This function checks whether the program runs in dynamic graph mode or not. This function checks whether the program runs in dynamic graph mode or not.
You can enter dynamic graph mode with :ref:`api_fluid_dygraph_guard` api, You can enter dynamic graph mode with :ref:`api_fluid_dygraph_guard` api,
or enable and disable dynamic graph mode with :ref:`api_fluid_dygraph_enable` or enable and disable dynamic graph mode with :ref:`api_fluid_dygraph_enable_dygraph`
and :ref:`api_fluid_dygraph_disable` api . and :ref:`api_fluid_dygraph_disable_dygraph` api .
**Note**: **Note**:
``fluid.dygraph.enabled`` is the alias of ``fluid.in_dygraph_mode``, and ``fluid.dygraph.enabled`` is the alias of ``fluid.in_dygraph_mode``, and
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册