Closed wgzhendong closed 4 years ago
Could you tell me the meaning of the parameters in this formula? kl_theta = -0.5 * torch.sum(1 + logsigma_theta - mu_theta.pow(2) - logsigma_theta.exp(), dim=-1).mean()
kl_theta = -0.5 * torch.sum(1 + logsigma_theta - mu_theta.pow(2) - logsigma_theta.exp(), dim=-1).mean()
Those are the parameters of the variational distribution over the topic proportions \theta.
Could you tell me the meaning of the parameters in this formula?
kl_theta = -0.5 * torch.sum(1 + logsigma_theta - mu_theta.pow(2) - logsigma_theta.exp(), dim=-1).mean()