Skip to content

Commit

Permalink
update code example;test=document_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TCChenlong authored Apr 22, 2022
1 parent 393d8b3 commit da364b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/paddle/fluid/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -6897,7 +6897,8 @@ def device_guard(device=None):
Examples:
.. code-block:: python
# required: gpu
import paddle
paddle.enable_static()
Expand Down

2 comments on commit da364b0

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on da364b0 Apr 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵️ CI failures summary

🔍 PR: #41604 Commit ID: da364b0 contains failed CI.

🔹 Failed: PR-CI-Static-Check

Unknown Failed
Unknown Failed

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on da364b0 Apr 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵️ CI failures summary

🔍 PR: #41604 Commit ID: da364b0 contains failed CI.

🔹 Failed: PR-CI-Static-Check

Unknown Failed
Unknown Failed

Please sign in to comment.