fields.base.DenseField.size#

property DenseField.size: int#

Total number of elements in the buffer.

Returns:

Product of all dimensions in the field shape.

Return type:

int