Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save n0obcoder/a356d7b56707d6cf3b56e7f7e5b6c1a1 to your computer and use it in GitHub Desktop.

Select an option

Save n0obcoder/a356d7b56707d6cf3b56e7f7e5b6c1a1 to your computer and use it in GitHub Desktop.
# 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