-
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/102 reduce op docstring #521
Conversation
Codecov Report
@@ Coverage Diff @@
## master #521 +/- ##
==========================================
- Coverage 96.60% 96.60% -0.01%
==========================================
Files 68 68
Lines 14092 14091 -1
==========================================
- Hits 13613 13612 -1
Misses 479 479
Continue to review full report at Codecov.
|
heat/core/operations.py
Outdated
if neutral is None: | ||
neutral = float("nan") | ||
neutral_shape = x.lshape[:split] + (1,) + x.lshape[split + 1 :] | ||
partial = torch.full(neutral_shape, fill_value=neutral, dtype=x._DNDarray__array.dtype) | ||
else: | ||
partial = x._DNDarray__array | ||
|
||
# |
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.
dead code? or spacing?
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.
resolved, comment I wanted to introduce was missing
CHANGELOG.md
Outdated
@@ -1,5 +1,6 @@ | |||
# Pending Additions | |||
|
|||
- [#102](https://github.com/helmholtz-analytics/heat/pull/429) Add documentation for the generic reduce_op in Heat's core |
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.
normally we have the numbers representative of the PR instead of the issue number. also the link is pointing to the wrong. for this PR it would be [#521](https://github.com/helmholtz-analytics/heat/pull/521)
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.
Oops, my bad thanks
Description
Include a summary of the change/s.
Please also include relevant motivation and context. List any dependencies that are required for this change.
Issue/s resolved: #102, #448
Type of change
Remove irrelevant options:
Due Diligence
Does this change modify the behaviour of other functions? If so, which?
no