MCPcopy
hub / github.com/dask/dask / chunk_min

Function chunk_min

dask/array/reductions.py:120–125  ·  view source on GitHub ↗

Version of np.min which ignores size 0 arrays

(x, axis=None, keepdims=None)

Source from the content-addressed store, hash-verified

118
119
120def chunk_min(x, axis=None, keepdims=None):
121 """Version of np.min which ignores size 0 arrays"""
122 if x.size == 0:
123 return array_safe([], x, ndmin=x.ndim, dtype=x.dtype)
124 else:
125 return np.min(x, axis=axis, keepdims=keepdims)
126
127
128@implements(np.max, np.amax)

Callers

nothing calls this directly

Calls 2

array_safeFunction · 0.90
minMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…