-
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
Features/37 minimum #324
Features/37 minimum #324
Conversation
Added test case for specified output buffer.
…alytics/heat into features/37-minimum
…alytics/heat into features/37-minimum
…ests accordingly.
… and MPI.MIN. * Raising NotImplementedError for x1.split != x2.split and x1.device != x2.device.
Codecov Report
@@ Coverage Diff @@
## master #324 +/- ##
==========================================
+ Coverage 96.85% 96.87% +0.02%
==========================================
Files 49 49
Lines 7754 7875 +121
==========================================
+ Hits 7510 7629 +119
- Misses 244 246 +2
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.
looks good to me
result._DNDarray__dtype = lresult._DNDarray__dtype | ||
result._DNDarray__split = split | ||
|
||
if out is not None: |
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.
is it possible to combine this if out
and the other one?
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 sure how, as one of them only writes out in the distributed case, the other one in the non-distributed case. If you can think of something, let me know.
heat/core/statistics.py
Outdated
@@ -569,6 +704,15 @@ def mpi_argmin(a, b, _): | |||
|
|||
MPI_ARGMIN = MPI.Op.Create(mpi_argmin, commute=True) | |||
|
|||
# # TODO: implement mpi_minimum |
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.
Does this need to be here? this could be put in an issue
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.
Sorry about this, it's a leftover from the attempted implementation through __reduce_op(), I removed it already.
Now addressing the case where x1.split != x2.split.