How To Plot Loss Function Pytorch