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

Function _wrap_func

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

Source from the content-addressed store, hash-verified

873
874
875def _wrap_func(
876 rng, funcname, *args, size=None, chunks="auto", extra_chunks=(), **kwargs
877):
878 if size is not None and not isinstance(size, (tuple, list)):
879 size = (size,)
880 return new_collection(
881 Random(rng, funcname, size, chunks, extra_chunks, args, kwargs)
882 )
883
884
885class 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