MCPcopy
hub / github.com/dask/dask / size

Method size

dask/array/core.py:6254–6258  ·  view source on GitHub ↗

The total number of blocks in the array.

(self)

Source from the content-addressed store, hash-verified

6252
6253 @property
6254 def size(self) -> int:
6255 """
6256 The total number of blocks in the array.
6257 """
6258 return math.prod(self.shape)
6259
6260 @property
6261 def shape(self) -> tuple[int, ...]:

Callers

nothing calls this directly

Calls 1

prodMethod · 0.45

Tested by

no test coverage detected