lanking520 edited a comment on issue #12536: [MXNET-913][WIP] Java API --- 
Scala NDArray Improvement
URL: https://github.com/apache/incubator-mxnet/pull/12536#issuecomment-422189604
 
 
   @gigasquid in order to solve this issue. I have done two things:
   
   1. Restricted `toArray` method with maximum length to `100000`
   2. Rewrite the `toString` method to optimize memory space as well as take a 
small portion of large output if the output array is too large

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to