Contents:
Get random state object
x (typing.Union[RandomState, int, None]) – Object that can be converted to a random state object
typing.Union
RandomState
int
None
rs – Random state object