Writing for the density, the conditional-independence structure of the latent-variable model gives