tingying2020 commented on a change in pull request #15387: Add docs for 7 ops
URL: https://github.com/apache/incubator-mxnet/pull/15387#discussion_r298918940
##########
File path: python/mxnet/numpy/multiarray.py
##########
@@ -691,9 +645,29 @@ def pad(self, *args, **kwargs):
raise AttributeError('mxnet.numpy.ndarray object has no attribute pad')
def swapaxes(self, axis1, axis2): # pylint: disable=arguments-differ
- """Return a copy of the array with axis1 and axis2 interchanged.
- Refer to `mxnet.numpy.swapaxes` for full documentation.
+ """Interchange two axes of an array.
+
+ Parameters:
+ -----------
+ a : array_like
Review comment:
The input should be ndarray
----------------------------------------------------------------
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