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

Method __init__

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

Source from the content-addressed store, hash-verified

503 """
504
505 def __init__(self, seed=None, RandomState=None):
506 self._numpy_state = np.random.RandomState(seed)
507 self._RandomState = (
508 array_creation_dispatch.RandomState if RandomState is None else RandomState
509 )
510
511 @property
512 def _backend(self):

Callers

nothing calls this directly

Calls 1

RandomStateMethod · 0.45

Tested by

no test coverage detected