-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Open
Description
I think
rng = np.random.default_rng()
x = rng.random((3, 3, 3))
would be better than
Z = np.random.random((3,3,3)) |
because the documentation says "[RandomState] should only be used if it is essential to have randoms that are identical to what would have been produced by previous versions of NumPy.".
Metadata
Metadata
Assignees
Labels
No labels