Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
[MXNET-767] Fix flaky test for kl_loss (#11963)
Browse files Browse the repository at this point in the history
* Fix flaky test for kl_loss

* remove comment.
  • Loading branch information
anirudhacharya authored and eric-haibin-lin committed Aug 12, 2018
1 parent 1eafbfc commit ec90f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/unittest/test_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit ec90f4a

Please sign in to comment.