I have seen people writing the reconstruction loss in two different ways:
F.binary_cross_entropy(recon_x1, x1.view(-1, 784))

or 

F.binary_cross_entropy(recon_x1, x1.view(-1, 784), reduction = "sum")

I was wondering if there is a theoretical reason to use one over the other?