Pytorch Building Neural Network