scvi.external.mrvi.MRVAE#
- scvi.external.mrvi.MRVAE[source]#
alias of
TorchMRVAE
Attributes table#
Methods table#
|
Compute normalized gene expression from observations using predefined eps |
|
Generative model. |
|
Run the recognition model. |
|
Compute the loss function value. |
Attributes#
- MRVAE.training: bool#
Methods#
- MRVAE.compute_h_from_x_eps(x, sample_index, batch_index, extra_eps, cf_sample=None, mc_samples=10)[source]#
Compute normalized gene expression from observations using predefined eps
- MRVAE.generative(z, library, batch_index, label_index, transform_batch=None)[source]#
Generative model.
- Return type:
dict[str,Tensor|Distribution]
- MRVAE.inference(x, sample_index, mc_samples=None, cf_sample=None, use_mean=False)[source]#
Run the recognition model.
In the case of variational inference, this function will perform steps related to computing variational distribution parameters. In a VAE, this will involve running data through encoder networks.
This function should return a dictionary with str keys and
Tensorvalues.