Skip to content

Commit

Permalink
fix: templates bug (#456)
Browse files Browse the repository at this point in the history
* Update model_nn.py

* ci issue
  • Loading branch information
TPLin22 authored Oct 28, 2024
1 parent 7b0f043 commit 434a868
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
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):
Expand Down

0 comments on commit 434a868

Please sign in to comment.