You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/02/23 01:29:21 UTC

[GitHub] roywei commented on a change in pull request #14237: [DOC] fix sym.arange doc

roywei commented on a change in pull request #14237: [DOC] fix sym.arange doc
URL: https://github.com/apache/incubator-mxnet/pull/14237#discussion_r259557822
 
 

 ##########
 File path: python/mxnet/symbol/symbol.py
 ##########
 @@ -3002,11 +3002,16 @@ def full(shape, val, dtype=None, **kwargs):
 def arange(start, stop=None, step=1.0, repeat=1, infer_range=False, name=None, dtype=None):
     """Returns evenly spaced values within a given interval.
 
+    Values are generated within the half-open interval [`start`, `stop`). In other
+    words, the interval includes `start` but excludes `stop`. The function is
+    similar to the built-in Python function `range` and to `numpy.arange`,
+    but returns an `Symbol`.
 
 Review comment:
   nit: a 'Symbol'

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services