-
Notifications
You must be signed in to change notification settings - Fork 32
Documented wrapping behavior of out of bound values of sorter #1601
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
Documented wrapping behavior of out of bound values of sorter #1601
Conversation
tensor.searchsorter apply sorter array, if present, to first input array using tensor.take with default mode="wrap", which replaces out of bound indices with in-bound ones using modular reduction.
|
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
|
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_148 ran successfully. |
7e11d06 to
dd36894
Compare
|
Array API standard conformance tests for dpctl=0.17.0dev0=py310h15de555_149 ran successfully. |
antonwolfy
left a comment
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 @oleksandr-pavlyk. The behavior is crystal clean now.
tensor.searchsorterappliessorterarray, if present, to first input array usingtensor.takewith defaultmode="wrap", which replaces out of bound indices with in-bound ones using modular reduction.This closes gh-1599