method
RandomState.get_state()
Return a tuple representing the internal state of the generator.
For more details, see set_state
.
Returns: |
|
---|
See also
set_state
and get_state
are not needed to work with any of the random distributions in NumPy. If the internal state is manually altered, the user should know exactly what he/she is doing.
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/random/generated/numpy.random.mtrand.RandomState.get_state.html