-
Notifications
You must be signed in to change notification settings - Fork 11
Numpy array context rebased #190
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
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
14d4476
Fix some newly-flagged UP031 issues
inducer ee96ff5
Drop deprecated actx.{empty,zeros}{,_like}
inducer 0c24aad
Fix a return type in ArgSizeLimitingPytatoLoopyPyOpenCLTarget
inducer 02ab097
Separate doc page for actx abstraction from doc page for implementations
inducer c888489
Give up on precisely typing Array.__getitem__
inducer cd124ba
Fix doc upload script to properly sync deletions
inducer 5d8158d
Deprecate with_container_arithmetic's bcast_numpy_array arg
kaushikcfd 228ef16
Implements NumpyArrayContext
kaushikcfd 1dc8c94
ArrayContainer fixes for numpy arrays as leaf classes
kaushikcfd 51b46bd
arithmetic fixes to account for np.ndarray being a leaf array
kaushikcfd 6308dc1
test NumpyArrayContext
kaushikcfd b5ea270
test tweaks for NumpyArrayContext
kaushikcfd 80c0672
Numpy actx: add arange, linspace
matthiasdiener 6d3b02a
Numpy actx: add zeros_like, reshape
matthiasdiener 4125e02
Numpy actx: better freeze/thaw
matthiasdiener 5da96a8
Numpy actx: Narrow array_types to non-obj arrays
inducer aa53572
Numpy actx: improve type annotations
inducer cf3f4fb
Array container arithemtic: drop deprecated fail-safe actx retrieval
inducer 1af76ce
Skip tagging test for numpy actx
inducer b58e38e
Skip numpy conversion tests when using the numpy actx
inducer eca314f
Don't expect unflatten failure from numpy array for numpy actx
inducer 4b4ee86
Container serialization: iterable -> sequence, plus type aliases
inducer 3d36c07
Improve, type, fix array_equal across all array contexts
inducer 58acd1f
Clarify that actx.array_types allows ABCs
inducer 0feaae1
Rework dataclass array container arithmetic
inducer 4873ef4
Switch to __array_ufunc__ in tests as a way to avoid numpy broadcasting
inducer 74cd298
outer: disallow non-object numpy arrays
inducer 125e936
Fix ruff C409 failures
inducer 9f1cad4
Fix a typo in the pytato actx
inducer 8b1b795
Numpy actx: warn (not error) on no user-provided transforms
inducer 510dc1b
with_container_arithmetic: Rename arguments to signal who broadcasts …
inducer bc323fc
Numpy actx: cache execuctor
inducer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.