From 9d57660eec320dbb19d18df307914235a8775d99 Mon Sep 17 00:00:00 2001 From: Haibin Lin Date: Sat, 4 Aug 2018 10:00:11 -0700 Subject: [PATCH] Update test_loss.py to remove fixed seed (#11995) --- tests/python/unittest/test_loss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/python/unittest/test_loss.py b/tests/python/unittest/test_loss.py index 8dfd36217a7e..deb7a6abdf62 100644 --- a/tests/python/unittest/test_loss.py +++ b/tests/python/unittest/test_loss.py @@ -146,7 +146,7 @@ def test_kl_loss(): assert mod.score(data_iter, eval_metric=mx.metric.Loss())[0][1] < 0.05 -@with_seed(1234) +@with_seed() def test_l2_loss(): N = 20 data = mx.random.uniform(-1, 1, shape=(N, 10)) @@ -164,7 +164,7 @@ def test_l2_loss(): assert mod.score(data_iter, eval_metric=mx.metric.Loss())[0][1] < 0.05 -@with_seed(1234) +@with_seed() def test_l1_loss(): N = 20 data = mx.random.uniform(-1, 1, shape=(N, 10))