singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] nudles edited a comment on issue #645: add function comments for autograd
Date Thu, 02 Apr 2020 05:58:28 GMT
nudles edited a comment on issue #645: add function comments for autograd
URL: https://github.com/apache/singa/pull/645#issuecomment-607637307
 
 
   docString is to explain the APIs.
   We do not need to make it wordy, just make it clear. 
   E.g., for `a + b`, we do not need to have "a" is the first operand. Instead, it is more
useful to explain if a and b must be of the same shape, is boradcast done automatically.
   
   http://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings

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


With regards,
Apache Git Services

Mime
View raw message