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

[MXNET-767] Fix flaky test for kl_loss #11963

Merged
merged 2 commits into from
Aug 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/python/unittest/test_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,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