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
shim. The goal is to let consuming libraries use the array API today, even
153
+
with array libraries that do not yet fully support it. In an ideal world---one that we hope to eventually see in the future---array-api-compat would be
154
+
unnecessary, because every array library would fully support the standard.
155
+
156
+
The inclusion of non-standardized functions in array-api-compat would
157
+
undermine this goal. But much more importantly, it would also undermine the
158
+
goals of the [Data APIs Consortium](https://data-apis.org/). The Consortium
159
+
creates the array API standard via the consensus of stakeholders from various
160
+
array libraries and users. If a not-yet-standardized function were included in
161
+
array-api-compat, it would become *de facto* standard, bypassing the decision
162
+
making processes of the Consortium.
163
+
164
+
Secondly, we want to keep array-api-compat as minimal as possible, so that it
165
+
is easy for libraries to add as a (possibly vendored) dependency.
166
+
167
+
Thirdly, array-api-compat has a relatively small development team. Pull
168
+
requests to array-api-compat would not necessarily receive the same stringent
169
+
level of scrutiny that changes to established array libraries like NumPy or
170
+
PyTorch would. For wrapped standard functions, this is fine, since the
171
+
wrappers typically just clean up a few small inconsistencies from the
172
+
standard, leaving the complexity of the implementation to the base array
173
+
library function. Furthermore, standard functions are tested by the rigorous
174
+
[array-api-tests](https://github.com/data-apis/array-api-tests) test suite.
175
+
For this reason, functions that require complex implementations are generally
176
+
out-of-scope and should be preferred to be implemented in upstream array
0 commit comments