scvi.external.tangram.TangramMapper#
- class scvi.external.tangram.TangramMapper(n_obs_sc, n_obs_sp, lambda_g1=1.0, lambda_d=0.0, lambda_g2=0.0, lambda_r=0.0, lambda_count=1.0, lambda_f_reg=1.0, constrained=False, target_count=None, training=True, parent=<flax.linen.module._Sentinel object>, name=None)[source]#
Bases:
JaxBaseModuleClass
Tangram Mapper Model.
Attributes table#
Returns a tuple of rng sequence names required for this Flax module. |
|
Methods table#
Attributes#
constrained
lambda_count
lambda_d
lambda_f_reg
lambda_g1
lambda_g2
lambda_r
name
parent
required_rngs
scope
- TangramMapper.scope: Optional[Scope] = None#
target_count
training
n_obs_sc
n_obs_sp
Methods#
generative
inference
loss
setup