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

test_feature_precision_test_c
wanghuancoder 5 years ago committed by GitHub
parent efee426742
commit 90e6819cf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save