MCPcopy Index your code
hub / github.com/dask/dask / _choice_rng

Function _choice_rng

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

Source from the content-addressed store, hash-verified

793
794
795def _choice_rng(state_data, a, size, replace, p, axis, shuffle):
796 state = _rng_from_bitgen(state_data)
797 return state.choice(a, size=size, replace=replace, p=p, axis=axis, shuffle=shuffle)
798
799
800def _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…