-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Improve implementation of max and argmax #3895
Merged
Merged
Conversation
This file contains 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
LaRiffle
added
Type: Improvement 📈
Minor improvements not introducing a new feature or requiring a major refactor
Priority: 2 - High 😰
Should be fixed as quickly as possible, ideally within the current or following sprint
Status: Blocked ✖️
Cannot work on this because of some other incomplete work
Severity: 3 - Medium 😒
Does not cause a failure, impair usability, or interfere with the system
labels
Jul 23, 2020
Codecov Report
@@ Coverage Diff @@
## master #3895 +/- ##
==========================================
- Coverage 94.99% 94.80% -0.19%
==========================================
Files 186 200 +14
Lines 19122 20313 +1191
==========================================
+ Hits 18164 19258 +1094
- Misses 958 1055 +97
|
LaRiffle
added
Priority: 1 - Immediate 🔥
Must be fixed immediately and cannot wait
Status: Review Needed 🙋
This needs someone to approve, deny, comment, or request changes
and removed
Priority: 2 - High 😰
Should be fixed as quickly as possible, ideally within the current or following sprint
Status: Blocked ✖️
Cannot work on this because of some other incomplete work
labels
Jul 30, 2020
gmuraru
reviewed
Jul 30, 2020
|
||
# Copy each row (length - 1) times to compare to each other row | ||
a = self.expand(row_length - 1, *self.size()) | ||
# print(a) |
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.
TODO: Remove print
youben11
approved these changes
Jul 30, 2020
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!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Priority: 1 - Immediate 🔥
Must be fixed immediately and cannot wait
Severity: 3 - Medium 😒
Does not cause a failure, impair usability, or interfere with the system
Status: Review Needed 🙋
This needs someone to approve, deny, comment, or request changes
Type: Improvement 📈
Minor improvements not introducing a new feature or requiring a major refactor
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.
Description
This improves implementation of max and argmax, tests are improved as well
Checklist