You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/03/11 15:43:02 UTC

[GitHub] [incubator-mxnet] albert-github opened a new issue #20010: Strange documentation for MXAutogradBackwardEx

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


   ## Description
   This is a documentation bug report regarding the use of `\param`
   
   In the file https://github.com/apache/incubator-mxnet/blob/master/include/mxnet/c_api.h around line 1337:
   ```
   /*!
    * \brief compute the gradient of outputs w.r.t variabels
    * \param num_output number of output NDArray
    * \param output_handles output NDArrays
    * \param ograd_handles head gradient for NDArrays
    * \param num_variables number of variables
    * \param
    * \param retain_graph whether to keep the graph after backward
    * \param is_train whether to do backward for training or inference
    * \return 0 when success, -1 when failure happens
    */
   ```
   
   resulting in:
   ![param](https://user-images.githubusercontent.com/5223533/110813303-acba8480-8288-11eb-8e9e-c5c24edacf4c.png)
   
   Another issue is a bit an empty Note in the same file (multiple times, might also be the case in other files) e.g. around line 337:
   ```
   /*!
    * \brief Deprecated, use MXAggregateProfileStatsPrintEx instead.
    * \param out_str Will receive a pointer to the output string
    * \param reset Clear the aggregate stats after printing
    * \return 0 when success, -1 when failure happens.
    * \note
    */
   MXNET_DLL int MXAggregateProfileStatsPrint(const char **out_str, int reset);
   ```
   
   Resulting in:
   ![note](https://user-images.githubusercontent.com/5223533/110812436-e343cf80-8287-11eb-8ba8-68415192f5dd.png)
   
   
   Remark: doxygen also has the `\deprecated` command:
   > \deprecated { description }
   >
   > Starts a paragraph indicating that this documentation block belongs to a deprecated entity. Can be used to describe alternatives, expected life span, etc.


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



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


[GitHub] [incubator-mxnet] github-actions[bot] commented on issue #20010: Strange documentation for MXAutogradBackwardEx

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #20010:
URL: https://github.com/apache/incubator-mxnet/issues/20010#issuecomment-796831453


   Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
   Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
   If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on [contributing to MXNet](https://mxnet.apache.org/community/contribute) and our [development guides wiki](https://cwiki.apache.org/confluence/display/MXNET/Developments).


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



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