Fix bug in transfer.py#1246
Conversation
fix the np.frombuffer in dp transfer
Codecov Report
@@ Coverage Diff @@
## devel #1246 +/- ##
==========================================
- Coverage 75.99% 75.98% -0.01%
==========================================
Files 91 91
Lines 7389 7391 +2
==========================================
+ Hits 5615 5616 +1
- Misses 1774 1775 +1
Continue to review full report at Codecov.
|
amcadmus
left a comment
There was a problem hiding this comment.
Could you add an example to explain how to trigger the bug, what is the expected behavior and what is the actual behavior?
Thanks!
|
fix the np.frombuffer in dp transfer, the point is explained as follows: temp1 temp2 = np.frombuffer(temp1, dtype=np.float32) temp2 |
fix the np.frombuffer in dp transfer