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

support long for mx.random.seed #14314

Merged
merged 7 commits into from
Mar 5, 2019
Merged
Changes from 2 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
1 change: 1 addition & 0 deletions tests/python/unittest/test_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ def test_parallel_random_seed_setting():
# Avoid excessive test cpu runtimes
num_temp_seeds = 25 if ctx.device_type == 'gpu' else 1
# To flush out a possible race condition, run multiple times

for _ in range(20):
# Create enough samples such that we get a meaningful distribution.
shape = (200, 200)
Expand Down