singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] joddiy commented on a change in pull request #645: add function comments for autograd
Date Thu, 02 Apr 2020 11:19:19 GMT
joddiy commented on a change in pull request #645: add function comments for autograd
URL: https://github.com/apache/singa/pull/645#discussion_r402237086
 
 

 ##########
 File path: python/singa/autograd.py
 ##########
 @@ -725,12 +885,26 @@ def backward(self, dy):
 
 
 def add(a, b):
+    """
+    Performs element-wise binary addition.
+    Args:
+        a (CTensor): First operand..
 
 Review comment:
   sorry, I made a mistake, it should be Tensor, I've checked all the file again to fix it.

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