mxnet-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sheng Zha (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MXNET-421) size match check in reshape
Date Mon, 14 May 2018 23:31:00 GMT
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


Mime
View raw message