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 2019/02/25 22:50:20 UTC

[GitHub] aaronmarkham commented on a change in pull request #14243: Fix commands to make doc consistent

aaronmarkham commented on a change in pull request #14243: Fix commands to make doc consistent
URL: https://github.com/apache/incubator-mxnet/pull/14243#discussion_r260053205
 
 

 ##########
 File path: src/operator/swapaxis.cc
 ##########
 @@ -53,20 +53,26 @@ MXNET_REGISTER_OP_PROPERTY(SwapAxis, SwapAxisProp)
 
 Examples::
 
-  x = [[1, 2, 3]])
-  swapaxes(x, 0, 1) = [[ 1],
-                       [ 2],
-                       [ 3]]
+  >>> x = mx.nd.array([[1, 2, 3]]) //(1,3) array
 
 Review comment:
   This comment breaks things. I'd just get rid of it... or put the comment on it's own line.

----------------------------------------------------------------
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