MCPcopy Create free account
hub / github.com/numpy/numpy / _any

Function _any

numpy/core/_methods.py:55–59  ·  view source on GitHub ↗
(a, axis=None, dtype=None, out=None, keepdims=False, *, where=True)

Source from the content-addressed store, hash-verified

53 return umr_prod(a, axis, dtype, out, keepdims, initial, where)
54
55def _any(a, axis=None, dtype=None, out=None, keepdims=False, *, where=True):
56 # Parsing keyword arguments is currently fairly slow, so avoid it for now
57 if where is True:
58 return umr_any(a, axis, dtype, out, keepdims)
59 return umr_any(a, axis, dtype, out, keepdims, where=where)
60
61def _all(a, axis=None, dtype=None, out=None, keepdims=False, *, where=True):
62 # Parsing keyword arguments is currently fairly slow, so avoid it for now

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected