-
Notifications
You must be signed in to change notification settings - Fork 934
Open
Labels
PR welcomeContributions towards resolving this issue are welcomeContributions towards resolving this issue are welcomeenhancementThis item is useful for the community and the user base and would serve as a fruitful additionThis item is useful for the community and the user base and would serve as a fruitful addition
Description
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__ for ArrayBox, 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.
danra
Metadata
Metadata
Assignees
Labels
PR welcomeContributions towards resolving this issue are welcomeContributions towards resolving this issue are welcomeenhancementThis item is useful for the community and the user base and would serve as a fruitful additionThis item is useful for the community and the user base and would serve as a fruitful addition