get_rng_state

paddle.random. get_rng_state ( ) [源代码]

paddle.device.cpu.get_rng_state 的别名,请参考 get_rng_state。

返回

Tensor:CPU 随机数生成器的初始种子值。