get_cuda_rng_state

paddle. get_cuda_rng_state ( )

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

返回

GeneratorState:对象。

代码示例

COPY-FROM: paddle.get_cuda_rng_state