You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/03/28 22:50:52 UTC

[GitHub] haojin2 commented on a change in pull request #10255: [MXNET-142] Enhance test for LeakyReLU operator

haojin2 commented on a change in pull request #10255: [MXNET-142] Enhance test for LeakyReLU operator
URL: https://github.com/apache/incubator-mxnet/pull/10255#discussion_r177912813
 
 

 ##########
 File path: tests/python/unittest/test_operator.py
 ##########
 @@ -489,7 +489,9 @@ def frelu_grad(x):
     check_symbolic_backward(y, [xa], [np.ones(shape)], [ga])
 
 
-@with_seed(1234)
+# NOTE(haojin2): Fixing the seed here to deal with the precision issue with fp16. Totally
+# randomized tests may result in flaky behaviors, but most randomized tests ran locally passed.
 
 Review comment:
   Done.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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