-
Notifications
You must be signed in to change notification settings - Fork 47
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
Clarify reduction with empty axes and scalar input #741
Clarify reduction with empty axes and scalar input #741
Conversation
Improve the description of the reduction ops: - Give in-line definition for L1/L2. - Make "input values" slightly clearer. - Explicitly note that if the input is a scalar, so is the output. - State how the reduction function is applied for empty axes. - Standardize on "reduction operation" not "reduce operation". Fixes webmachinelearning#740
@philloooo - does this make the behavior clearer? |
The "reduction types" list was styled as a non-normative note. The element-wise ops (add, equal, abs, etc.) don't do this. Be consistent here.
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.
LGTM!
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.
Clarification is goodness 👍. Some wording thoughts.
Co-authored-by: Dwayne Robinson <[email protected]>
Co-authored-by: Dwayne Robinson <[email protected]>
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.
👍
SHA: 4697a0d Reason: push, by fdwr Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Improve the description of the reduction ops:
Fixes #740
Preview | Diff