-
Notifications
You must be signed in to change notification settings - Fork 242
refactor: update StridedMemoryView.from_buffer to accept tuples and dtype instead of now-private _StridedLayout
#1380
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
|
/ok to test |
|
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
This comment has been minimized.
This comment has been minimized.
… dtype instead of now-private `_StridedLayout`
…ng consistency checks
a289de6 to
b54f628
Compare
|
/ok to test |
|
/ok to test |
|
LGTM! One question: There are still a few references to I think we should at least comment out |
|
Let me see if making |
|
yeah if it's too much churn then let's just raise a warning if users try to access it |
|
/ok to test |
|
I removed I think all public references to |
|
Change the definition of
StridedMemoryView.from_bufferto accept shape, strides, and order to match the functionality of_StridedLayoutwithout exposing it in the public API.