scvi.module.base.BaseMinifiedModeModuleClass#

class scvi.module.base.BaseMinifiedModeModuleClass(*args, **kwargs)[source]#

Bases: BaseModuleClass

Abstract base class for scvi-tools modules that can handle minified data.

Attributes table#

minified_data_type

The type of minified data associated with this module, if applicable.

training

Methods table#

inference(*args, **kwargs)

Main inference call site.

Attributes#

BaseMinifiedModeModuleClass.minified_data_type[source]#

The type of minified data associated with this module, if applicable.

BaseMinifiedModeModuleClass.training: bool#

Methods#

BaseMinifiedModeModuleClass.inference(*args, **kwargs)[source]#

Main inference call site.

Branches off to regular or cached inference depending on whether we have a minified adata that contains the latent posterior parameters.