lanking520 commented on issue #12425: Problem with Symbol.reshape and special value -2 [scala] URL: https://github.com/apache/incubator-mxnet/issues/12425#issuecomment-417955834 @mdespriee firstly the problem mentioned in the log means the shape of the data changed and there maybe data missing. As explained in [here](http://mxnet.apache.org/api/python/ndarray/ndarray.html#mxnet.ndarray.NDArray.reshape), users should not try to reshape the data with loss of data. However, I can use python to do the same thing without any issues: ```Python import mxnet as mx a = mx.nd.array([[1,2],[3,4]]) b = a.reshape(1, -2) >>> b [[1. 2.]] <NDArray 1x2 @cpu(0)> ``` Not sure what is the issue here, will look into it and see.... @mxnet-label-bot please label [scala, bug]
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
