tingying2020 commented on a change in pull request #15387: Add docs for 7 ops
URL: https://github.com/apache/incubator-mxnet/pull/15387#discussion_r298920669
##########
File path: python/mxnet/symbol/numpy/_symbol.py
##########
@@ -1006,6 +1021,35 @@ def multiply(x1, x2, out=None):
@set_module('mxnet.symbol.numpy')
def divide(x1, x2, out=None):
+
+ """
+ Returns a true division of the inputs, element-wise.
+ Instead of the Python traditional ‘floor division’,
+ this returns a true division. True division adjusts
+ the output type to present the best answer, regardless
+ of input types.
+
+ Parameters:
+ ----------
+ x1 : symbolic or scalar
+ Dividend array.
+ x2 : symbolic or scalar
+ Divisor array.
+ out : None or symbolic or scalar, optional
+ A location into which the result is stored. If provided,
+ it must have a shape that the inputs broadcast to.
+ If not provided or None, a freshly-allocated array is returned.
+ where : symbolic or array, optional
+ Values of True indicate to calculate the ufunc at that position,
+ values of False indicate to leave the value in the output alone.
+ **kwargs : For other keyword-only arguments, see the ufunc docs.
Review comment:
No `**kwargs`
----------------------------------------------------------------
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