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/07/30 07:34:15 UTC

[GitHub] [incubator-mxnet] szha commented on issue #14064: Inconsistent behavior in split() when num_outputs=1

szha commented on issue #14064:
URL: https://github.com/apache/incubator-mxnet/issues/14064#issuecomment-665840709


   in 2.x we will focus on numpy array instead of ndarray. the np.split is now behaving consistently.
   ```
   In [15]: mx.np.split(a, 2)
   Out[15]: [array([[1., 1., 1.]]), array([[1., 1., 1.]])]
   
   In [16]: mx.np.split(a, 1)
   Out[16]:
   [array([[1., 1., 1.],
           [1., 1., 1.]])]
   ```


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