In the previous article, we saw how we automated several manual pieces when training a neural network. In this article, we will check the final results and also see how we can do hardware acceleration.
For verifying that the final_bias is correctly optimized, we can print out the new value:
trainer.fit(model, train_dataloaders=dataloader)
print(model.final_bias.data)
Enter fullscreen mode









