Skip to content

Implement aliases introduced in NumPy 2.0 #2016

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

Merged
merged 8 commits into from
Aug 30, 2024
Merged

Implement aliases introduced in NumPy 2.0 #2016

merged 8 commits into from
Aug 30, 2024

Conversation

vtavana
Copy link
Collaborator

@vtavana vtavana commented Aug 29, 2024

In this PR, the following aliases which are introduced in NumPy 2.0 are added to dpnp: dpnp.acos, dpnp.acosh, dpnp.asin, dpnp.asinh, dpnp.atan, dpnp.atanh, dpnp.atan2, dpnp.bitwise_invert, dpnp.bitwise_left_shift, dpnp.bitwise_right_shift, dpnp.pow, dpnp.permute_dims, dpnp.concat, and dpnp.linalg.matmul.

In addition, doc is updated to avoid error and warning generated during Build Sphinx / Build and Deploy Docs.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • If this PR is a work in progress, are you filing the PR as a draft?

@vtavana vtavana self-assigned this Aug 29, 2024
Copy link
Contributor

github-actions bot commented Aug 29, 2024

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@vtavana vtavana marked this pull request as ready for review August 29, 2024 23:48
@vtavana vtavana merged commit d0bc51e into master Aug 30, 2024
38 of 46 checks passed
@vtavana vtavana deleted the impl_aliases branch August 30, 2024 21:23
github-actions bot added a commit that referenced this pull request Aug 30, 2024
* update trigonometric and hyperbolic functions

* add dpnp.pow alias

* add bitwise aliases

* add dpnp.linalg.matmul alias

* fix issues with build doc

* add dpnp.concat and dpnp.permute_dims

* Update doc/reference/random.rst

Co-authored-by: Natalia Polina <[email protected]>

---------

Co-authored-by: Natalia Polina <[email protected]> d0bc51e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants