joddiy commented on a change in pull request #496: SINGA-474 Mean operator URL: https://github.com/apache/incubator-singa/pull/496#discussion_r309588325
########## File path: test/python/test_operation.py ########## @@ -37,7 +37,20 @@ def _tuple_to_string(t): lt = [str(x) for x in t] return '(' + ', '.join(lt) + ')' - +def eval_numerical_gradient(f, x,y): Review comment: This function calculates the gradient of f at x, not y. Please be careful when you use 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: us...@infra.apache.org With regards, Apache Git Services