You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by "Sheng Zha (JIRA)" <ji...@apache.org> on 2018/05/14 23:31:00 UTC

[jira] [Created] (MXNET-421) size match check in reshape

Sheng Zha created MXNET-421:
-------------------------------

             Summary: size match check in reshape
                 Key: MXNET-421
                 URL: https://issues.apache.org/jira/browse/MXNET-421
             Project: Apache MXNet
          Issue Type: Bug
            Reporter: Sheng Zha


{code:python}
import mxnet as mx
a = mx.nd.ones((10, 50))
b = a.reshape((16, 3)) # only 48 elements out of 500 elements in source
c = a.reshape((16, -1)) # only 496 elements out of 500 elements in source
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org