haojin2 commented on a change in pull request #17637: [Numpy] Add cross product
backward
URL: https://github.com/apache/incubator-mxnet/pull/17637#discussion_r386595037
##########
File path: python/mxnet/numpy/multiarray.py
##########
@@ -9684,3 +9684,111 @@ def pad(x, pad_width=None, mode="constant", **kwargs):
# pylint: disable=too-man
[10, 10, 10, 10, 10, 10, 10]])
"""
return _mx_nd_np.pad(x, pad_width, mode, **kwargs)
+
+
+@set_module('mxnet.numpy')
+def cross(a, b, axisa=-1, axisb=-1, axisc=-1, axis=None, **kwargs): # pylint:
disable=too-many-arguments
Review comment:
move the wrapper to after `outer` in the file to keep consistency. Same for
all python wrappers
----------------------------------------------------------------
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