kpuatamazon opened a new issue #19245:
URL: https://github.com/apache/incubator-mxnet/issues/19245


   ## Description
   
   I think all `MXNDArrayAt` and `MXNDArrayAt64` is index an array to 
(eventually) return a scalar.  An operation users might call frequently.  It 
should not require memory allocation, yet the current code creates a `new 
NDArray` that in turn allocates its own buffer.  
   
   
https://github.com/apache/incubator-mxnet/blob/e5a781430ba9e30584c2c58c3ce60b2159b4a08c/src/c_api/c_api.cc#L1980-L1998
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to