Commit 423c920
migrate existing set_worker_random_seed callsites (#28)
Summary:
Pull Request resolved: #28
**Diff Purpose & Changes**
- We can migrate all instances of worker.set_random_seed_impl to now use builtins.random.set_manual_seed.
- Wonder if some of these cases would benefit from random_seed() instead. Maybe that can be checked out in the future.
Reviewed By: suo
Differential Revision: D72945165
fbshipit-source-id: b2f9cc48b34b021c41a6032be7bdd7ca315808231 parent d08e538 commit 423c920
2 files changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
742 | 743 | | |
743 | 744 | | |
744 | 745 | | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | 746 | | |
750 | | - | |
| 747 | + | |
751 | 748 | | |
752 | 749 | | |
753 | 750 | | |
| |||
0 commit comments