sxjscience edited a comment on issue #17097: [mxnet 2.0][item 10.1] MXNet 
Imperative Op Invocation Overhead
URL: 
https://github.com/apache/incubator-mxnet/issues/17097#issuecomment-568042927
 
 
   @tqchen For the "fast path" structures that we need to support, I'm 
considering the following:
   - py_slice, Ellipsis for basic indexing.
   - Also, in some scenarios, numpy scalar will be involved:
   
   ```python
   import mxnet.numpy as mnp
   import numpy as np
   a = mnp.array(np.array(1))
   b = a + np.array(1)
   ```
   
   
   
   Also, there are two scenarios when list will be involved:
   - For concatenate, the arguments may be wrapped in a python list. 
   - In the case of split and hsplit, the return value can be a list.
   
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to