get_cuda_rng_state

paddle. get_cuda_rng_state ( ) [source]

Get random state of cuda generators.

Parameters

None.

Returns

object.

Return type

GeneratorState

Examples

>>> import paddle
>>> sts = paddle.get_cuda_rng_state()