NumPy

numpy.random.BitGenerator.state

attribute

BitGenerator.state

Get or set the PRNG state

The base BitGenerator.state must be overridden by a subclass

Returns
statedict

Dictionary containing the information required to describe the state of the PRNG