Skip to content

Commit 19a17c9

Browse files
committed
revise doc in stream_guard
1 parent c364df1 commit 19a17c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/paddle/device/cuda/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ def stream_guard(stream=None):
154154
A context manager that specifies the current stream context by the given stream.
155155
156156
Parameters:
157-
stream(paddle.device.cuda.Stream): the selected stream.
158-
If stream is None, just yield. Default: None.
157+
stream(paddle.device.cuda.Stream): the selected stream. If stream is None, just yield. The default value is None.
159158
160159
Examples:
161160
.. code-block:: python

0 commit comments

Comments
 (0)