未验证 提交 72b07726 编写于 作者: S Siming Dai 提交者: GitHub

Fix docs in stream_guard API

Fix docs in stream_guard API 
上级 572021aa
...@@ -176,7 +176,7 @@ def stream_guard(stream): ...@@ -176,7 +176,7 @@ def stream_guard(stream):
A context manager that specifies the current stream context by the given stream. A context manager that specifies the current stream context by the given stream.
Parameters: Parameters:
stream(paddle.device.cuda.Stream): the selected stream. If stream is None, just yield. The default value is None. stream(paddle.device.cuda.Stream): the selected stream. If stream is None, just yield.
Examples: Examples:
.. code-block:: python .. code-block:: python
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册