szha closed pull request #11447: [documentation] Update doc for 
contrib.rand_zipfian
URL: https://github.com/apache/incubator-mxnet/pull/11447
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/python/mxnet/ndarray/contrib.py b/python/mxnet/ndarray/contrib.py
index ba402e6f3f8..cc66483f00b 100644
--- a/python/mxnet/ndarray/contrib.py
+++ b/python/mxnet/ndarray/contrib.py
@@ -55,8 +55,7 @@ def rand_zipfian(true_classes, num_sampled, range_max, 
ctx=None):
     range_max: int
         The number of possible classes.
     ctx : Context
-        Device context of output. Default is current context. Overridden by
-        `mu.context` when `mu` is an NDArray.
+        Device context of output. Default is current context.
 
     Returns
     -------


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to