Creating Basic Neural Networks, Defining Cost Functions and Optimizing Algorithms in PyTorch are demonstrated in this video.
The script used can be downloaded from the following link:
https://drive.google.com/file/d/1rbrQkP4wfCUFwTnG39nOSDFAy9sFjZ_l/view?usp=sharing