Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: delegation tracker #100

Open
9 tasks
lucascolley opened this issue Jan 18, 2025 · 0 comments
Open
9 tasks

ENH: delegation tracker #100

lucascolley opened this issue Jan 18, 2025 · 0 comments
Labels
delegation enhancement New feature or request good first issue Good for newcomers tracking

Comments

@lucascolley
Copy link
Member

lucascolley commented Jan 18, 2025

Where native implementations (more simple than the implementations in _funcs.py) are possible for known array library backends, we should add delegation to those implementations, instead of using the array-agnostic implementation. This is for performance reasons, and it may also allow us to overcome limitations in the "agnostic" implementations if they are not fully agnostic.

See https://data-apis.org/array-api-extra/contributing.html#how-to-add-delegation-to-a-function for how to do this.

  • atleast_nd
  • cov
  • create_diagonal
  • expand_dims
  • kron
  • nunique
  • pad
  • setdiff1d
  • sinc
@lucascolley lucascolley pinned this issue Jan 21, 2025
@lucascolley lucascolley added the good first issue Good for newcomers label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegation enhancement New feature or request good first issue Good for newcomers tracking
Projects
None yet
Development

No branches or pull requests

1 participant