Created
June 30, 2021 10:06
-
-
Save sadimanna/764354f385b36c0185898c457b5c2109 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def set_seed(seed = 16): | |
| np.random.seed(seed) | |
| torch.manual_seed(seed) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment