-
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
logical and bitwise functions #427
Conversation
Codecov Report
@@ Coverage Diff @@
## master #427 +/- ##
==========================================
- Coverage 96.68% 96.65% -0.03%
==========================================
Files 57 57
Lines 12142 12107 -35
==========================================
- Hits 11739 11702 -37
- Misses 403 405 +2
Continue to review full report at Codecov.
|
@mtar i am going to need you to merge the master with this one. you know this code better than i |
heat/core/tests/test_arithmetics.py
Outdated
@@ -276,6 +255,32 @@ def test_fmod(self): | |||
with self.assertRaises(TypeError): | |||
ht.fmod("T", "s") | |||
|
|||
def test_invert(self): | |||
int_tensor = ht.array([[0, 1], [2, -2]]) |
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.
can you add one test to all of these with a different int datatype? i.e. int16 or something like that
…lytics/heat into features/bitwiselogicalops
Description
Fixes: #225 #226, improves #366
Changes proposed:
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
Are all split configurations tested and accounted for?
[x] yes [ ] no
Does this change require a documentation update outside of the changes proposed?
[ ] yes [x] no
Does this change modify the behaviour of other functions?
[ ] yes [x] no
Are there code practices which require justification?
[ ] yes [x] no