jasonyu1996 commented on issue #10840: Feature request - einsum
URL: 
https://github.com/apache/incubator-mxnet/issues/10840#issuecomment-419044601
 
 
   I have almost finished the implementation, save some polishing and testing. 
The current solution is not in the backend, but alongside `Block`. To allow one 
piece of code to support both `ndarray` and `symbol` at the same time, it uses 
the same idea as `HybridBlock`. The difference is that for `HybridBlock` there 
might be parameters inside and it is necessary to instantiate and possibly 
hybridize it before use, whereas an operator has its interfaces exposed in 
`mxnet.ndarray` and `mxnet.symbol`, and should look the same as other operators 
'imported' from the backend.
   
   I think this is probably a decision on the design, as it means a new 
interface for developing new operators.

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