The total number of blocks in the array.
(self)
| 6049 | |
| 6050 | @property |
| 6051 | def size(self) -> int: |
| 6052 | """ |
| 6053 | The total number of blocks in the array. |
| 6054 | """ |
| 6055 | return math.prod(self.shape) |
| 6056 | |
| 6057 | @property |
| 6058 | def shape(self) -> tuple[int, ...]: |