MCPcopy
hub / github.com/dask/dask / _choice_rng

Function _choice_rng

dask/array/random.py:818–820  ·  view source on GitHub ↗
(state_data, a, size, replace, p, axis, shuffle)

Source from the content-addressed store, hash-verified

816
817
818def _choice_rng(state_data, a, size, replace, p, axis, shuffle):
819 state = _rng_from_bitgen(state_data)
820 return state.choice(a, size=size, replace=replace, p=p, axis=axis, shuffle=shuffle)
821
822
823def _choice_rs(state_data, a, size, replace, p):

Callers

nothing calls this directly

Calls 2

_rng_from_bitgenFunction · 0.70
choiceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…