You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: #759
"len()" should refer to the size of the data structure. In the case of an extent, the natural definition is the number of dimensions. For example, the natural Index implementation for Extent is to give the size of the indexed dimension. This would then require that len() returns the number of dimensions for consistency.
We change 'len' to be defined thus, and provide "num_ranks" to answer how many ranks are contained in the extent.
Reviewed By: shayne-fletcher
Differential Revision: D79569471
fbshipit-source-id: ea9e2d7bcf8de0e8d558988d6a53c1c99bdc6b48
0 commit comments