-
Notifications
You must be signed in to change notification settings - Fork 22
Add support of dpnp.ndindex
class
#2157
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 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 documentation shows a few additional methods __eq__
, __ne__
, etc. Are they relevant? Is it possible to remove them?
https://intelpython.github.io/dpnp/pull/2157/reference/generated/dpnp.ndindex.html#dpnp.ndindex.__eq__
a22274b
to
b19e705
Compare
The issue will be resolved by separate PR: #2187 |
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, @antonwolfy! Documentation looks fine now.
* Leverage dpnp.ndindex on numpy class * Remove TODO in the code with dpnp.ndindex * Add tests to dpnp.ndindex * Inherit ndindex from numpy class * Instantiate instance of numpy class * Remove TODO in dpnp/dpnp_iface_functional.py * Add tests for __next__() method ffd3829
The PR proposes to add
dpnp.ndindex
class. The implementation is fully leveraged on appropriate class in NumPy.The tests are added to cover the new functionality.