Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 342 Bytes

get_cuda_rng_state_cn.rst

File metadata and controls

23 lines (14 loc) · 342 Bytes

get_cuda_rng_state

.. py:function:: paddle.get_cuda_rng_state()

获取 cuda 随机数生成器的状态信息。

参数

无。

返回

GeneratorState:对象。

代码示例

COPY-FROM: paddle.get_cuda_rng_state