You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/datasets/dataset_dict.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -971,7 +971,7 @@ def shuffle(
971
971
If None, then fresh, unpredictable entropy will be pulled from the OS.
972
972
If an int or array_like[ints] is passed, then it will be passed to SeedSequence to derive the initial BitGenerator state.
973
973
You can provide one :obj:`seed` per dataset in the dataset dictionary.
974
-
seed (Optional `int`): A seed to initialize the default BitGenerator if ``generator=None``. Alias for seeds (the seed argument has priority over seeds if both arguments are provided).
974
+
seed (Optional `int`): A seed to initialize the default BitGenerator if ``generator=None``. Alias for seeds (a `ValueError` is raised if both are provided).
975
975
generators (Optional `Dict[str, np.random.Generator]`): Numpy random Generator to use to compute the permutation of the dataset rows.
976
976
If ``generator=None`` (default), uses np.random.default_rng (the default BitGenerator (PCG64) of NumPy).
977
977
You have to provide one :obj:`generator` per dataset in the dataset dictionary.
0 commit comments