-
Notifications
You must be signed in to change notification settings - Fork 30
Use normalize_axis_tuple to normalize axis for all functions but expand_dims #1182
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/dpctl/pulls/1182/index.html |
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_7 ran successfully. |
Added tests to cover each property.
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_8 ran successfully. |
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.
The example works now. Thank you @oleksandr-pavlyk !
@@ -1108,6 +987,7 @@ def test_moveaxis_new_position(source, destination, expected): | |||
], |
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.
Everything looks good to me.
If you want, you can add (range(4), range(4)),
here and remove test_moveaxis_gh_1178
to have similar tests in one place.
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.
I intended to add the new test case to test_moveaxis_preserve_order
function (here) (in this case it was not necessary to add shape as input) but it is added below to test_moveaxis_move_multiples
.
cdd4cb4
to
80c6046
Compare
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_9 ran successfully. |
1 similar comment
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_9 ran successfully. |
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Array API standard conformance tests for dpctl=0.14.3dev1=py310h76be34b_9 ran successfully. |
Use normalize_axis_tuple to normalize axis for all but expand_dims functions
Closes gh-1178
Adds test to cover gh-1178.