1Konny/WAE-pytorch

about function: log_density_igaussian(z, z_var)

leeswan opened this issue · 0 comments

Hi, why you calculate log density gaussian like this?

return -(z_dim/2)*math.log(2*math.pi*z_var) + z.pow(2).sum(1).div(-2*z_var)