84
edits
Changes
→Implementation of a Neural Network
print(loss)
''' 6. Iterate through the trainset data again to verify current accuracy rating of our neural network using the training testset data''' we just trained onset.
correct = 0
with torch.no_grad():
for data in trainsettestset:
X, y = data
output = net(X.view(-1,784))