import torchimport torch.nn as nnimport torch.nn.functional as Fimport torch.optim as optimimport numpy as npimport matplotlib.pyplot as pltfrom torch.utils.data import DataLoader, TensorDatasetimport seaborn as sns%matplotlib inline%config InlineBackend.figure_format ='retina'# Set random seed for reproducibilitytorch.manual_seed(0)# Torch versiontorch.__version__