-
Notifications
You must be signed in to change notification settings - Fork 277
Speed up MatrixExpr.add.reduce via quicksum
#1157
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
21 commits
Select commit
Hold shift + click to select a range
59ce6bd
Speed up `np.add.reduce`
Zeroto521 1c66a5c
BUG: `MatrixExpr.mean(axis=1)` will crush kernel
Zeroto521 a2a57c1
Add tests for matrix mean performance and type
Zeroto521 7804c10
Update changelog for MatrixExpr.add.reduce optimization
Zeroto521 4a8a233
Remove MatrixExpr.sum method and update _core_sum docstring
Zeroto521 377ec6a
Remove sum method from MatrixExpr stub
Zeroto521 1f406a4
Improve MatrixExpr ufunc handling and remove unused include
Zeroto521 a933366
Fix MatrixExpr matmul return type and update tests
Zeroto521 5cc69d2
Refactor matrix sum performance tests timing logic
Zeroto521 efc36b0
Update matmul return type assertion in test
Zeroto521 b0d190a
Refactor matrix variable tests to use view casting
Zeroto521 103a96f
define the variable
Zeroto521 e0b8746
Refactor __array_ufunc__ in MatrixExpr for clarity
Zeroto521 bc98e43
Add type hints and docstring to __array_ufunc__ in MatrixExpr
Zeroto521 aad49c1
Merge branch 'master' into issue/1156
Zeroto521 311c62d
Add comment clarifying 'reduce' method handling
Zeroto521 3896151
Merge branch 'master' into issue/1156
Zeroto521 cc5294d
Refactor matrix sum test for clarity and type consistency
Zeroto521 6d9cbc4
Fix handling of 'out' kwarg in __array_ufunc__
Zeroto521 4c29df8
Fix comments to reference mean instead of sum
Zeroto521 f29ff13
Pass 'False' to _ensure_array
Zeroto521 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
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.