Array API compatibility #649
Labels
enhancement
This item is useful for the community and the user base and would serve as a fruitful addition
PR welcome
Contributions towards resolving this issue are welcome
This is more of a question rather than an issue, but is there any plan or opinion on supporting Array API compatibility in autograd? Specifically, I'm wondering about the possibility of implementing methods like
__array_function__
and__array_ufunc__
forArrayBox
, in a manner similar to the__array_namespace__
discussed in PR #647.Adding such compatibility would enable autograd to seamlessly interoperate with libraries that follow the Array API standard, such as xarray, and potentially allow differentiating through operations involving those libraries. This would mean that automatic differentiation could potentially "just work" for any library that dispatches to the underlying array implementation.
The text was updated successfully, but these errors were encountered: