-
Notifications
You must be signed in to change notification settings - Fork 55
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
tolist() implementation #581
Conversation
Codecov Report
@@ Coverage Diff @@
## master #581 +/- ##
==========================================
- Coverage 96.49% 96.48% -0.01%
==========================================
Files 75 75
Lines 15249 15233 -16
==========================================
- Hits 14714 14698 -16
Misses 535 535
Continue to review full report at Codecov.
|
heat/core/dndarray.py
Outdated
@@ -3479,6 +3479,33 @@ def tanh(self, out=None): | |||
""" | |||
return trigonometrics.tanh(self, out) | |||
|
|||
def tolist(self): |
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.
Return type annotation, remove the return category
…cs/heat into enhancement/579-tolist
…cs/heat into enhancement/579-tolist
Description
Issue/s resolved: #579
Implentation of tolist() method for DNDarray class. Returns a copy of the DNDarray as a python list.
Changes proposed:
Type of change
Due Diligence
Does this change modify the behaviour of other functions? If so, which?
no