scvi.module.TOTALVAE.generative

TOTALVAE.generative(z, library_gene, batch_index, label, cont_covs=None, cat_covs=None, transform_batch=None)[source]

Run the generative model.

This function should return the parameters associated with the likelihood of the data. This is typically written as \(p(x|z)\).

This function should return a dictionary with str keys and Tensor values.

Return type

{str: Tensor | {str: Tensor}}Dict[str, Union[Tensor, Dict[str, Tensor]]]