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

Commit

Permalink
Fix flaky tests for test_squared_hinge_loss (#12017)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgk authored and eric-haibin-lin committed Aug 4, 2018
1 parent 8d4d5fa commit 09add8a
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 @@ -310,7 +310,7 @@ def test_hinge_loss():
assert mod.score(data_iter, eval_metric=mx.metric.Loss())[0][1] < 0.05


@with_seed(1234)
@with_seed()
def test_squared_hinge_loss():
N = 20
data = mx.random.uniform(-1, 1, shape=(N, 10))
Expand Down

0 comments on commit 09add8a

Please sign in to comment.