Using tensorflows tutorial on DCGAN as an example: https://www.tensorflow.org/tutorials/generative/dcgan?hl=en
I added a few lines to view the loss in tensorboard, ho