eric-haibin-lin commented on a change in pull request #14243: Fix commands to
make doc consistent
URL: https://github.com/apache/incubator-mxnet/pull/14243#discussion_r283107263
##########
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:
<img width="806" alt="Screen Shot 2019-05-11 at 11 35 36 AM"
src="https://user-images.githubusercontent.com/5545640/57573712-fa41de00-73e0-11e9-8530-b4831524746e.png">
> It looks close, but I think they're different because it is missing these:
> \>>> y = mx.nd.array([[3,3],[4,4],[5,5]])
I did find this. What do you think is missing????
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services