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

Removed fixed seed from , test_loss:test_ctc_loss_train #11985

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
2 changes: 1 addition & 1 deletion tests/python/unittest/test_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def test_ctc_loss():
mx.test_utils.assert_almost_equal(l.asnumpy(), np.array([18.82820702, 16.50581741]))


@with_seed(1234)
@with_seed()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed this change as well

def test_ctc_loss_train():
N = 20
data = mx.random.uniform(-1, 1, shape=(N, 20, 10))
Expand Down