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

Method any

dask/array/_array_expr/_collection.py:480–491  ·  view source on GitHub ↗

Returns True if any of the elements evaluate to True. Refer to :func:`dask.array.any` for full documentation. See Also -------- dask.array.any : equivalent function

(self, axis=None, keepdims=False, split_every=None, out=None)

Source from the content-addressed store, hash-verified

478 )
479
480 def any(self, axis=None, keepdims=False, split_every=None, out=None):
481 """Returns True if any of the elements evaluate to True.
482
483 Refer to :func:`dask.array.any` for full documentation.
484
485 See Also
486 --------
487 dask.array.any : equivalent function
488 """
489 from dask.array.reductions import any
490
491 return any(self, axis=axis, keepdims=keepdims, split_every=split_every, out=out)
492
493 def all(self, axis=None, keepdims=False, split_every=None, out=None):
494 """Returns True if all elements evaluate to True.

Callers 12

test_compressFunction · 0.45
test_cupy_core.pyFile · 0.45
__len__Method · 0.45
takeFunction · 0.45
sliding_window_viewFunction · 0.45
empty_likeFunction · 0.45
ones_likeFunction · 0.45
zeros_likeFunction · 0.45
full_likeFunction · 0.45

Calls 1

anyFunction · 0.90