fields.tensors.DenseTensorField.size#

property DenseTensorField.size: int#

Total number of elements in the buffer.

Returns:

Product of all dimensions in the field shape.

Return type:

int