import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import numpy as np
import matplotlib.pyplot as plt
from torch.utils.data import DataLoader, TensorDataset
import seaborn as sns
%matplotlib inline
%config InlineBackend.figure_format = 'retina'
# Set random seed for reproducibility
0)
torch.manual_seed(
# Torch version
torch.__version__
'2.0.0+cu118'