singa-dev mailing list archives

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

 ##########
 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:
   a is Tensor or CTensor?

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