You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/02/13 03:14:19 UTC

[GitHub] [incubator-mxnet] sxjscience opened a new issue #17584: [Numpy] broadcast_arrays is not in symbolic interface + no broadcast_like

sxjscience opened a new issue #17584: [Numpy] broadcast_arrays is not in symbolic interface + no broadcast_like
URL: https://github.com/apache/incubator-mxnet/issues/17584
 
 
   ## Description
   broadcast_like is very useful for broadcasting arrays in the symbolic interface. I think we should add it to the `npx` namespace.
   
   Also, currently broadcast_arrays is not in the symbolic interface and we should add it.
   ```python
   import mxnet as mx
   mx.npx.set_np()
   mx.sym.np.broadcast_arrays
   ```
   
   ```
   ---------------------------------------------------------------------------
   AttributeError                            Traceback (most recent call last)
   <ipython-input-7-6aa73654bfef> in <module>
   ----> 1 mx.sym.np.broadcast_arrays
   
   AttributeError: module 'mxnet.symbol.numpy' has no attribute 'broadcast_arrays'
   ```
   
    @ZheyuYe @haojin2 
   
   I'll first add broadcast_like to npx.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services