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 2018/11/21 00:04:18 UTC

[GitHub] simoncorstonoliver commented on a change in pull request #13208: [MXNET-1209] Tutorial transpose reshape

simoncorstonoliver commented on a change in pull request #13208: [MXNET-1209] Tutorial transpose reshape 
URL: https://github.com/apache/incubator-mxnet/pull/13208#discussion_r235213838
 
 

 ##########
 File path: docs/tutorials/basic/reshape_transpose.md
 ##########
 @@ -0,0 +1,190 @@
+
+## Difference between reshape and transpose operators
+Modyfing the shape of tensors is a very common operation in Deep Learning. For instance, when using pretrained neural networks it is often required to adjust input data dimensions to correspond to what the network has been trained on, e.g. tensors of shape `[batch_size, channels, width, height]`.  This notebook discusses briefly the difference between the operators [Reshape](http://mxnet.incubator.apache.org/test/api/python/ndarray.html#mxnet.ndarray.NDArray.reshape) and [Transpose](http://mxnet.incubator.apache.org/test/api/python/ndarray.html#mxnet.ndarray.transpose). Both allow to change the shape, however they are not the same and are commonly mistaken.
 
 Review comment:
   Modyfing -> Modifying
   
   often required to adjust input data dimension --> often necessary to adjust the input data dimension 
   
   Both allow to --> Both allow you to 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services