Skip to content

Commit

Permalink
down into cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfeiBai committed Apr 24, 2024
1 parent 5734811 commit f244aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_test_mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ def forward(self, x):
return F.log_softmax(x, dim=1)

device = xm.xla_device()
# model = MNIST().to(device)
network = Net().to(device)
network = MNIST().to(device)
# network = Net().to(device)
optimizer = optim.SGD(network.parameters(), lr=learning_rate,
momentum=momentum)
# loss_fn = nn.NLLLoss()
Expand Down

0 comments on commit f244aab

Please sign in to comment.