We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c364df1 commit 19a17c9Copy full SHA for 19a17c9
python/paddle/device/cuda/__init__.py
@@ -154,8 +154,7 @@ def stream_guard(stream=None):
154
A context manager that specifies the current stream context by the given stream.
155
156
Parameters:
157
- stream(paddle.device.cuda.Stream): the selected stream.
158
- If stream is None, just yield. Default: None.
+ stream(paddle.device.cuda.Stream): the selected stream. If stream is None, just yield. The default value is None.
159
160
Examples:
161
.. code-block:: python
0 commit comments