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 2020/08/23 21:05:16 UTC

[GitHub] [incubator-mxnet] DNXie opened a new issue #18990: Documentation bug: mxnet.symbol.linspace doesn't accept `ctx` as parameter

DNXie opened a new issue #18990:
URL: https://github.com/apache/incubator-mxnet/issues/18990


   ## Description
   
   This is a documentation bug. In the document of `mxnet.symbol.linspace`, the Parameter section specified an input parameter `ctx`, which is not in the function signature, and not accepted by the function.
   
   Link to the document: https://mxnet.apache.org/versions/1.6/api/python/docs/api/symbol/symbol.html#mxnet.symbol.linspace
   
   
   ### Error Message
   (Paste the complete error message. Please also include stack trace by setting environment variable `DMLC_LOG_STACK_TRACE_DEPTH=10` before running your script.)
   ~~~python
   TypeError: linspace() got an unexpected keyword argument 'ctx'
   ~~~
   ## To Reproduce
   (If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
   
   ~~~python
   import mxnet
   mxnet.symbol.linspace(1,10,2, ctx=mx.cpu())
   ~~~
   
   ## Environment
   
   We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
   ```
   curl --retry 10 -s https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | python
   
   # paste outputs here
   ```
   
   OS: ubuntu 18.04
   Python: 3.7.6
   pip: 20.0.2
   numpy: 1.18.5
   mxnet: 1.6.0


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



[GitHub] [incubator-mxnet] vijaya-lakshmi-venkatraman commented on issue #18990: Documentation bug: mxnet.symbol.linspace doesn't accept `ctx` as parameter

Posted by GitBox <gi...@apache.org>.
vijaya-lakshmi-venkatraman commented on issue #18990:
URL: https://github.com/apache/incubator-mxnet/issues/18990#issuecomment-1046943568


   Hello,
   I see a PR merged for this issue.
   Is this still open?


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

To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] szha commented on issue #18990: Documentation bug: mxnet.symbol.linspace doesn't accept `ctx` as parameter

Posted by GitBox <gi...@apache.org>.
szha commented on issue #18990:
URL: https://github.com/apache/incubator-mxnet/issues/18990#issuecomment-679452211


   Looks like a copy-paste error in the doc here that needs removal:
   https://github.com/apache/incubator-mxnet/blob/3c4ac19daa3e645d918692b864ea19640f7e0314/python/mxnet/symbol/symbol.py#L3203-L3204


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