-
Notifications
You must be signed in to change notification settings - Fork 54
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
Bug/472 matmul updates #473
Conversation
…t avoids resplit for 2 split=None mats
Codecov Report
@@ Coverage Diff @@
## master #473 +/- ##
=======================================
Coverage 96.72% 96.72%
=======================================
Files 60 60
Lines 12278 12278
=======================================
Hits 11876 11876
Misses 402 402 Continue to review full report at Codecov.
|
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.
I'm not quite sure if it is sufficient to only consider the vector case for this.
When I implemented the resplit function for out-of-place case, I adapted the HeAT functions, however did not change the current implemenation design (aka most functions kept the inplace resplit) since I didn't know enough on the algorithm design (especially in matmul).
However, now might be a good design to discuss the overall behaviour and API, and wheter matmul should change the splitting of the inputs inplace.
it should only resplit in the case that is mentioned. but this could be done out of place as well, although it would require a copy call. |
@coquelin77 I have some notes to your fix
|
@rainman110 @Cdebus I changed the default behavior to be the case that the split axis is not changed. I think that this solution is the most clear for users, those with more experience can choose if they want to allow for 'a' to be split or not |
@coquelin77 Sounds good to me! Thank you very much! |
codecov is apparently reading a coverage change in kmeans but i believe that this is due to it reading the wrong base commit. there are no changes made to kmeans in this PR according to github |
Nice work! |
Description
Updates to the matmul and dot functions to increase their
Issue/s resolved: #472
Changes proposed:
a
)Type of change
Remove irrelevant options:
Due Diligence
Does this change modify the behaviour of other functions? If so, which?
It should not change the behavior of other functions but if they use dot and expect a split axis this may need to be addressed.