Neural networks from scratch using PyTorch