cpa.CPAModule.loss#

CPAModule.loss(tensors, inference_outputs, generative_outputs)[source]#

Computes the reconstruction loss (AE) or the ELBO (VAE)