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

Function _isnonzero_vec

dask/array/routines.py:2117–2118  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

2115
2116
2117def _isnonzero_vec(v):
2118 return bool(np.count_nonzero(v))
2119
2120
2121_isnonzero_vec = np.vectorize(_isnonzero_vec, otypes=[bool])

Callers 1

_isnonzeroFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected