MCPcopy Create free account
hub / github.com/dask/dask / __init__

Method __init__

dask/array/random.py:519–523  ·  view source on GitHub ↗
(self, seed=None, RandomState=None)

Source from the content-addressed store, hash-verified

517 """
518
519 def __init__(self, seed=None, RandomState=None):
520 self._numpy_state = np.random.RandomState(seed)
521 self._RandomState = (
522 array_creation_dispatch.RandomState if RandomState is None else RandomState
523 )
524
525 @property
526 def _backend(self):

Callers

nothing calls this directly

Calls 1

RandomStateMethod · 0.45

Tested by

no test coverage detected