-
Notifications
You must be signed in to change notification settings - Fork 22
Add implementation of dpnp.matrix_transpose()
and .mT
attribute for dpnp.array
#2095
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
Conversation
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
There is also |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @vlad-perevezentsev!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @vlad-perevezentsev
…or dpnp.array (#2095) * Add implementaion of dpnp.matrix_transpose() * Add TestMatrixtranspose to dpnp tests * Add .mT attribute for ndarray * Add tests for .mT arrribute * Add matrix_transpose() for dpnp.linalg module * Add test for dpnp.linalg.matrix_transpose() * Expand docs for .mT attribute * Reuse dpctl for matrix_transpose * Update dpnp.matrix_transpose() --------- Co-authored-by: Anton <[email protected]>
This PR suggests adding new implementation of
dpnp.matrix_transpose()
function and new.mT
attribute fordpnp.array
that was implemented in Numpy 2.0.This function is Array API compatible: