MCPcopy
hub / github.com/dask/dask / _wrap_func

Function _wrap_func

dask/array/_array_expr/random.py:873–880  ·  view source on GitHub ↗
(
    rng, funcname, *args, size=None, chunks="auto", extra_chunks=(), **kwargs
)

Source from the content-addressed store, hash-verified

871
872
873def _wrap_func(
874 rng, funcname, *args, size=None, chunks="auto", extra_chunks=(), **kwargs
875):
876 if size is not None and not isinstance(size, (tuple, list)):
877 size = (size,)
878 return new_collection(
879 Random(rng, funcname, size, chunks, extra_chunks, args, kwargs)
880 )
881
882
883class Random(IO):

Callers 15

betaMethod · 0.70
binomialMethod · 0.70
chisquareMethod · 0.70
exponentialMethod · 0.70
fMethod · 0.70
gammaMethod · 0.70
geometricMethod · 0.70
gumbelMethod · 0.70
hypergeometricMethod · 0.70
integersMethod · 0.70
laplaceMethod · 0.70
logisticMethod · 0.70

Calls 2

new_collectionFunction · 0.90
RandomClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…