Skip to content

Commit

Permalink
feat: Updated src/main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-nightly[bot] authored Nov 26, 2023
1 parent a411ef7 commit fccd851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

trainset = datasets.MNIST('.', download=True, train=True, transform=transform)
# Step 2: Define the PyTorch Model
class Net(nn.Module):
trainloader = DataLoader(trainset, batch_size=64, shuffle=True)
# 'trainloader' variable added back into the code to load the training data for the model
class Net(nn.Module):
def __init__(self):
super().__init__()
self.fc1 = nn.Linear(28 * 28, 128)
Expand Down

0 comments on commit fccd851

Please sign in to comment.