ckt624 commented on a change in pull request #15381: [Numpy] Add Documentations
URL: https://github.com/apache/incubator-mxnet/pull/15381#discussion_r298088530
 
 

 ##########
 File path: python/mxnet/_numpy_op_doc.py
 ##########
 @@ -58,31 +55,53 @@ def _np_reshape(a, newshape, order='C'):
 
 
 def _np_ones_like(a):
-    """Return an array of ones with the same shape and type as a given array.
+    """
+    ones_like(a)
 
+    Return an array of ones with the same shape and type as a given array.
+    
     Parameters
     ----------
-    a : ndarray
+    a : array_like
 
 Review comment:
   Changed. Thx.

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

Reply via email to