reminisce commented on a change in pull request #15377: [numpy][doc-fix]
zeros_like, linspace, reciprocal, square, and arcsin
URL: https://github.com/apache/incubator-mxnet/pull/15377#discussion_r298001932
##########
File path: python/mxnet/_numpy_op_doc.py
##########
@@ -71,19 +71,63 @@ def _np_ones_like(a):
pass
-def _np_zeros_like(a):
- """Return an array of zeros with the same shape and type as a given array.
+def _np_zeros_like(a, dtype=None, **kwargs):
+ """
+ zeros_like(a, dtype=None, order='C', subok=True)
+
+ Return an array of zeros with the same shape and type as a given array.
Parameters
----------
a : ndarray
- The shape and data-type of `a` define these same attributes of
+ The shape of `a` define these same attributes of
the returned array.
-
+ dtype : data-type, optional
Review comment:
Delete dtype and order.
----------------------------------------------------------------
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