Last active
August 28, 2019 21:22
-
-
Save n0obcoder/a356d7b56707d6cf3b56e7f7e5b6c1a1 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
| # Importing the bare necessities... | |
| seed_for_reproducibility = 3333 | |
| import numpy as np | |
| np.random.seed(seed_for_reproducibility) | |
| import random | |
| random.seed(seed_for_reproducibility) | |
| from matplotlib import pyplot as plt | |
| %matplotlib inline | |
| import torch | |
| torch.manual_seed(seed_for_reproducibility) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment