The total number of blocks in the array.
(self)
| 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, ...]: |