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_r279497725
 
 

 ##########
 File path: python/mxnet/ndarray_doc.py
 ##########
 @@ -54,6 +55,274 @@ class ReshapeDoc(NDArrayDoc):
     (4L, 3L, 2L)
     """
 
+class ConcatDoc(NDArrayDoc):
+    """
+    Examples
+    --------
+
+    Joins input arrays along a given axis.
+
+    >>> x = mx.nd.array([[1,1],[2,2]])
+    >>> y = mx.nd.array([[3,3],[4,4],[5,5]])
+    >>> z = mx.nd.array([[6,6], [7,7],[8,8]])
+
+    >>> mx.nd.concat(x,y,z,dim=0)
 
 Review comment:
   Why does the previous API render the interpreter prompt, but this one does 
not? It looks close, but I think they're different because it is missing these:
      **>>>** y = mx.nd.array([[3,3],[4,4],[5,5]])
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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

Reply via email to