-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add dpnp.roll implementation and update dpnp.rollaxis/dpnp.moveaxis #1517
Conversation
{"shape": (5, 2), "shift": (2, 1), "axis": (0, 1)}, | ||
{"shape": (5, 2), "shift": (2, 1), "axis": (0, -1)}, | ||
{"shape": (5, 2), "shift": (2, 1), "axis": (1, -1)}, | ||
{"shape": (5, 2), "shift": (2, 1, 3), "axis": 0}, |
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.
is there any reason why you skip
{'shape': (5, 2), 'shift': (2, 1, 3), 'axis': None},
from parameterize?
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
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.
LGTM! Thank you @vlad-perevezentsev
This PR
dpnp.roll()
that reusesdpctl.tensor.roll()
dpnp.rollaxis
anddpnp.moveaxis
dpnp.roll
anddpnp.rollaxis
.