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

Method size

dask/array/_array_expr/_expr.py:58–60  ·  view source on GitHub ↗

Number of elements in array

(self)

Source from the content-addressed store, hash-verified

56
57 @cached_property
58 def size(self) -> T_IntOrNaN:
59 """Number of elements in array"""
60 return reduce(mul, self.shape, 1)
61
62 @property
63 def name(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected