The total number of blocks in the array.
(self)
| 6257 | |
| 6258 | @property |
| 6259 | def size(self) -> int: |
| 6260 | """ |
| 6261 | The total number of blocks in the array. |
| 6262 | """ |
| 6263 | return math.prod(self.shape) |
| 6264 | |
| 6265 | @property |
| 6266 | def shape(self) -> tuple[int, ...]: |