comaniac commented on a change in pull request #15906: [Numpy] Numpy operator 
diff
URL: https://github.com/apache/incubator-mxnet/pull/15906#discussion_r323379333
 
 

 ##########
 File path: python/mxnet/numpy/multiarray.py
 ##########
 @@ -3588,3 +3588,49 @@ def argmax(a, axis=None, out=None):
     array([2., 2.])
     """
     return _mx_nd_np.argmax(a, axis, out)
+
+
+@set_module('mxnet.numpy')
+def diff(a, n=1, axis=-1, prepend=None, append=None):
+    r"""
+    numpy.diff(a, n=1, axis=-1, prepend=<no value>, append=<no value>)
+
+    Calculate the n-th discrete difference along the given axis.
+        Input array
 
 Review comment:
   Miss a line of "a"

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