This is an automated email from the ASF dual-hosted git repository.

haibin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new ec90f4a  [MXNET-767] Fix flaky test for kl_loss (#11963)
ec90f4a is described below

commit ec90f4ac1cbfbdba40b149513818f59c5aa6ab51
Author: Anirudh <[email protected]>
AuthorDate: Sun Aug 12 12:39:40 2018 -0700

    [MXNET-767] Fix flaky test for kl_loss (#11963)
    
    * Fix flaky test for kl_loss
    
    * remove comment.
---
 tests/python/unittest/test_loss.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/python/unittest/test_loss.py 
b/tests/python/unittest/test_loss.py
index f14dd55..2cdc290 100644
--- a/tests/python/unittest/test_loss.py
+++ b/tests/python/unittest/test_loss.py
@@ -129,7 +129,7 @@ def test_logistic_loss_equal_bce():
     assert_almost_equal(loss_binary(data, label).asnumpy(), loss_bce(data, 
label).asnumpy())
     assert_almost_equal(loss_signed(data, 2 * label - 1).asnumpy(), 
loss_bce(data, label).asnumpy())
 
-@with_seed(1234)
+@with_seed()
 def test_kl_loss():
     N = 20
     data = mx.random.uniform(-1, 1, shape=(N, 10))

Reply via email to