piiswrong commented on a change in pull request #10360: extend ndarray in-place reshape URL: https://github.com/apache/incubator-mxnet/pull/10360#discussion_r178609994
########## File path: python/mxnet/ndarray/ndarray.py ########## @@ -943,13 +943,8 @@ def reshape(self, *shape, **kwargs): shape : tuple of int, or n ints The new shape should not change the array size, namely ``np.prod(new_shape)`` should be equal to ``np.prod(self.shape)``. - - One dimension can be -1. In this case, the value is inferred - from the length of the array and remaining dimensions. - - 0 Dimensions in shape will be copied from original shape, i.e. - if x.shape == (3, 4, 5), x.reshape((0, 20)).shape will be (3, 20). - + Some dimensions of the shape can take special values from the set {0, -1, -2, -3, -4}. Review comment: paste the doc here instead of using link ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services