scvi.model.base.EmbeddingMixin#

class scvi.model.base.EmbeddingMixin[source]#

EXPERIMENTAL Mixin class for initializing and using embeddings in a model.

Must be used with a module that inherits from EmbeddingModuleMixin.

Notes

Lifecycle: experimental in v1.2.

Methods table#

get_batch_representation([adata, indices, ...])

Get the batch representation for a given set of indices.

Methods#

EmbeddingMixin.get_batch_representation(adata=None, indices=None, batch_size=None)[source]#

Get the batch representation for a given set of indices.

Return type:

ndarray