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/09/12 09:03:48 UTC
[GitHub] [incubator-mxnet] haojin2 commented on a change in pull request
#15838: [numpy] nonzero
haojin2 commented on a change in pull request #15838: [numpy] nonzero
URL: https://github.com/apache/incubator-mxnet/pull/15838#discussion_r323631849
##########
File path: python/mxnet/_numpy_op_doc.py
##########
@@ -100,6 +100,54 @@ def _np_cumsum(a, axis=None, dtype=None, out=None):
>>> np.cumsum(a,axis=1) # sum over columns for each of the 2 rows
array([[ 1, 3, 6],
[ 4, 9, 15]])
+ """
+ pass
+
+
+def _npx_nonzero(a):
Review comment:
Why `npx` here? Seems like there's a `nonzero` in official numpy: https://docs.scipy.org/doc/numpy/reference/generated/numpy.nonzero.html
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services