chrishkchris commented on a change in pull request #493: SINGA-473 Autograd 
Trigonometry: Backward Test
URL: https://github.com/apache/incubator-singa/pull/493#discussion_r309137122
 
 

 ##########
 File path: test/python/test_operation.py
 ##########
 @@ -65,6 +65,17 @@ def prepare_inputs_targets_for_rnn_test():
     targets = [t0, t1, t2]
     return inputs, targets, h0
 
+def numpy_unary_ops_backward(func, x, dy, h=0.0005):
 
 Review comment:
   Changed the code by computing the gradient explicitly, the accuracy check is 
up to 5 decimals.

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


With regards,
Apache Git Services

Reply via email to