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

Remove fixed seed for test_l1_loss and test_l2_loss #11995

Merged
merged 1 commit into from
Aug 4, 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
4 changes: 2 additions & 2 deletions tests/python/unittest/test_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,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))
Expand All @@ -162,7 +162,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))
Expand Down