mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 07:57:44 +00:00
@@ -5,6 +5,8 @@ import torch.nn.functional as F
|
||||
import torch.optim as optim
|
||||
from torch.utils.data import DataLoader, TensorDataset
|
||||
|
||||
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
||||
|
||||
|
||||
# Define the neural network model with Batch Normalization
|
||||
class NeuralNetwork(nn.Module):
|
||||
|
||||
Reference in New Issue
Block a user