Neural Network Code In Pytorch