-
Notifications
You must be signed in to change notification settings - Fork 654
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
[api] Allow to show NDArray content in Debugger 2 #2080
Conversation
Codecov ReportBase: 72.08% // Head: 70.24% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2080 +/- ##
============================================
- Coverage 72.08% 70.24% -1.85%
- Complexity 5126 6074 +948
============================================
Files 473 603 +130
Lines 21970 26893 +4923
Branches 2351 2912 +561
============================================
+ Hits 15838 18892 +3054
- Misses 4925 6588 +1663
- Partials 1207 1413 +206
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
83d2cb7
to
c5c5f97
Compare
add message add message
* [api] Allow show NDArray content in debugger * add message add message add message * add message * add message * add message * link * link Co-authored-by: Frank Liu <frankfliu2000@gmail.com>
Description
The previous solution still suffers from a slowing down when printing the string outside the debugger mode. Here the solution is to utillize the existing pruning mechanism, and put the execution of
init(array)
also under the condition that the array is not too large.A testing code is added.