- property array.size: Optional[int]¶
Number of elements in an array.
This must equal the product of the array’s dimensions.
out (Optional[int]) – number of elements in an array. The returned value must be
Noneif and only if one or more array dimensions are unknown.
For array libraries having graph-based computational models, an array may have unknown dimensions due to data-dependent operations.