MCPcopy
hub / github.com/dask/dask / divide

Function divide

dask/array/reductions.py:55–58  ·  view source on GitHub ↗
(a, b, dtype=None)

Source from the content-addressed store, hash-verified

53
54
55def divide(a, b, dtype=None):
56 key = lambda x: getattr(x, "__array_priority__", float("-inf"))
57 f = divide_lookup.dispatch(type(builtins.max(a, b, key=key)))
58 return f(a, b, dtype=dtype)
59
60
61def numel(x, **kwargs):

Callers 3

mean_aggFunction · 0.70
moment_combineFunction · 0.70
moment_aggFunction · 0.70

Calls 3

fFunction · 0.50
dispatchMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…