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/06/29 20:16:47 UTC

[GitHub] [incubator-mxnet] leezu opened a new issue #18638: mx.np.broadcast_to has undocumented features

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


   Following https://github.com/apache/incubator-mxnet/pull/17358, `broadcast_to` op can infer shape from input tensor with magic parameter `-2`. This is undocumented.
   
   https://github.com/apache/incubator-mxnet/blob/cf3984bf5c67cb7d1feeb5b3cb55a41ca995e5c8/python/mxnet/ndarray/numpy/_op.py#L285-L308


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



[GitHub] [incubator-mxnet] xidulu commented on issue #18638: mx.np.broadcast_to has undocumented features

Posted by GitBox <gi...@apache.org>.
xidulu commented on issue #18638:
URL: https://github.com/apache/incubator-mxnet/issues/18638#issuecomment-651856471


   I believe the reason behind is that we would like to keep the documentation and feature consistent with the origin NumPy, so this magic api is not supposed to be known by users.


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